{
  "id": "CVE-2026-4480",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-4480",
  "published_at": "2026-05-26T13:56:32.355Z",
  "title": "Samba: samba: remote code execution in printing subsystem via unescaped job description",
  "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-06-05T11:05:55Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 9.9,
    "repo": "TheCyberGeek/CVE-2026-4480-PoC",
    "source": "github"
  },
  "poc_repo_count": 12,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the \"print command\" setting via the \"%J\"\nsubstitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.",
  "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:10.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "TheCyberGeek/CVE-2026-4480-PoC",
      "url": "https://github.com/TheCyberGeek/CVE-2026-4480-PoC",
      "created_at": "2026-06-05T11:05:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 23,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-06-23T19:42:23Z"
    },
    {
      "repo": "robinxiang/CVE-2026-4480",
      "url": "https://github.com/robinxiang/CVE-2026-4480",
      "created_at": "2026-06-07T10:53:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-02-19T14:24:20Z"
    },
    {
      "repo": "0xBlackash/CVE-2026-4480",
      "url": "https://github.com/0xBlackash/CVE-2026-4480",
      "created_at": "2026-06-07T23:20:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "0xredash/CVE-2026-4480",
      "url": "https://github.com/0xredash/CVE-2026-4480",
      "created_at": "2026-06-07T23:20:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "ashrafzaryouh/CVE-2026-4480",
      "url": "https://github.com/ashrafzaryouh/CVE-2026-4480",
      "created_at": "2026-06-07T23:20:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "CarlosEduardoPM/CVE-2026-4480-POC",
      "url": "https://github.com/CarlosEduardoPM/CVE-2026-4480-POC",
      "created_at": "2026-06-08T16:56:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-04-24T06:31:15Z"
    },
    {
      "repo": "saitoken241/CVE-2026-4480-POC",
      "url": "https://github.com/saitoken241/CVE-2026-4480-POC",
      "created_at": "2026-06-08T16:56:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-04-24T06:31:15Z"
    },
    {
      "repo": "Vusal777/CVE-2026-4480-exploit-poc",
      "url": "https://github.com/Vusal777/CVE-2026-4480-exploit-poc",
      "created_at": "2026-06-16T09:49:25Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-01-20T14:02:29Z"
    },
    {
      "repo": "ClearLotus-git/CVE-2026-4480-PoC",
      "url": "https://github.com/ClearLotus-git/CVE-2026-4480-PoC",
      "created_at": "2026-06-20T15:59:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-09-22T13:07:44Z"
    },
    {
      "repo": "exploitnotes/security-research",
      "url": "https://github.com/exploitnotes/security-research",
      "created_at": "2026-07-09T15:08:23Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-12-09T02:38:55Z"
    },
    {
      "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": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-15T23:24:28Z"
    },
    {
      "repo": "timgad794/Abducted-HTB-Writeup",
      "url": "https://github.com/timgad794/Abducted-HTB-Writeup",
      "created_at": "2026-10-02T16:12:53Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-08-23T15:53:05Z"
    },
    {
      "repo": "AlanNewberry/CVE-2026-4480-samba-print-command-injection-rce",
      "url": "https://github.com/AlanNewberry/CVE-2026-4480-samba-print-command-injection-rce",
      "created_at": "2026-10-03T15:23:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-09-09T20:12:40Z"
    }
  ],
  "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"
        ]
      }
    ],
    "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."
    ],
    "workarounds": [
      "Remove ```\"%J\"``` from the \"print command\" in ```smb.conf``` entry."
    ],
    "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": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2026/CVE-2026-4480.yaml",
      "source": "nuclei",
      "title": "nuclei template: Samba Printing Subsystem - Remote Code Execution",
      "published_at": "2026-06-17T10:18:08Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
