{
  "id": "CVE-2026-4408",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-4408",
  "published_at": "2026-05-28T07:25:27.169Z",
  "title": "Samba: remote code execution in samr",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 10",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-03T07:44:29Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 67,
    "repo": "SafeBreach-Labs/ForgottenButNotGone",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the \"check password script\" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the \"check password script\" is used with %u and the samba-dcerpcd service is started as a system service.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "SafeBreach-Labs/ForgottenButNotGone",
      "url": "https://github.com/SafeBreach-Labs/ForgottenButNotGone",
      "created_at": "2026-08-03T07:44:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 12,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-15T23:24:28Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:4.23.5-109.el10_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.0 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:4.21.3-114.el10_0.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:4.10.16-26.el7_9.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:4.10.16-26.el7_9.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:4.19.4-16.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:4.19.4-16.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:4.13.3-12.el8_4.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:4.13.3-12.el8_4.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:4.15.5-16.el8_6.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:4.15.5-16.el8_6.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:4.17.5-7.el8_8.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:4.17.5-7.el8_8.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:4.23.5-10.el9_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:4.23.5-10.el9_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:4.17.5-105.el9_2.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:4.19.4-105.el9_4.4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:4.21.3-14.el9_6.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.12",
        "ranges": null,
        "fixed_in": [
          "412.86.202608241157-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.13",
        "ranges": null,
        "fixed_in": [
          "413.92.202609080414-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.14",
        "ranges": null,
        "fixed_in": [
          "414.92.202608172040-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.15",
        "ranges": null,
        "fixed_in": [
          "415.92.202608180329-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.16",
        "ranges": null,
        "fixed_in": [
          "416.94.202608150307-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.17",
        "ranges": null,
        "fixed_in": [
          "417.94.202608250221-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.18",
        "ranges": null,
        "fixed_in": [
          "418.94.202608142238-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.19",
        "ranges": null,
        "fixed_in": [
          "4.19.9.6.202606241344-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.20",
        "ranges": null,
        "fixed_in": [
          "4.20.9.6.202606241928-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.21",
        "ranges": null,
        "fixed_in": [
          "4.21.9.6.202606241859-0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 10 to 0:4.23.5-109.el10_2 or later.",
      "Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:4.21.3-114.el10_0.1 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:4.10.16-26.el7_9.1 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:4.10.16-26.el7_9.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:4.19.4-16.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:4.19.4-16.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:4.13.3-12.el8_4.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:4.13.3-12.el8_4.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:4.15.5-16.el8_6.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:4.15.5-16.el8_6.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:4.17.5-7.el8_8.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:4.17.5-7.el8_8.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:4.23.5-10.el9_8 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:4.23.5-10.el9_8 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:4.17.5-105.el9_2.5 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:4.19.4-105.el9_4.4 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:4.21.3-14.el9_6.1 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.12 to 412.86.202608241157-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.13 to 413.92.202609080414-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.14 to 414.92.202608172040-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.15 to 415.92.202608180329-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.16 to 416.94.202608150307-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.17 to 417.94.202608250221-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.18 to 418.94.202608142238-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.19 to 4.19.9.6.202606241344-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.20 to 4.20.9.6.202606241928-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.21 to 4.21.9.6.202606241859-0 or later."
    ],
    "workarounds": [
      "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:22644"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:22963"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:25049"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:25979"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:28053"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:28054"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:28055"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:28056"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
