{
  "id": "CVE-2026-3854",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-3854",
  "published_at": "2026-03-10T17:37:34.89Z",
  "title": "Remote code execution via git push option injection in GitHub Enterprise Server",
  "vendor": "GitHub",
  "product": "Enterprise Server",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/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-04-29T03:52:45Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 49.4,
    "repo": "lysophavin18/CVE-2026-3854-PoC",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "An improper neutralization of special elements vulnerability was identified in GitHub Enterprise Server that allowed an attacker with push access to a repository to achieve remote code execution on the instance. During a git push operation, user-supplied push option values were not properly sanitized before being included in internal service headers. Because the internal header format used a delimiter character that could also appear in user input, an attacker could inject additional metadata fields through crafted push option values. This vulnerability was reported via the GitHub Bug Bounty program and has been fixed in GitHub Enterprise Server versions 3.14.25, 3.15.20, 3.16.16, 3.17.13, 3.18.7 and 3.19.4.",
  "cwe": "CWE-77",
  "cpes": [
    "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "5kr1pt/CVE-2026-3854",
      "url": "https://github.com/5kr1pt/CVE-2026-3854",
      "created_at": "2026-04-28T19:42:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-01-28T18:39:35Z"
    },
    {
      "repo": "LACHHAB-Anas/Exploit_CVE-2026-3854",
      "url": "https://github.com/LACHHAB-Anas/Exploit_CVE-2026-3854",
      "created_at": "2026-04-28T22:02:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-10-20T20:34:42Z"
    },
    {
      "repo": "lysophavin18/CVE-2026-3854-PoC",
      "url": "https://github.com/lysophavin18/CVE-2026-3854-PoC",
      "created_at": "2026-04-29T03:52:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "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": "2022-10-25T08:55:36Z"
    },
    {
      "repo": "simondankelmann/cve-2026-3854-test",
      "url": "https://github.com/simondankelmann/cve-2026-3854-test",
      "created_at": "2026-04-29T16:18:28Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-11-07T15:17:04Z"
    },
    {
      "repo": "isagoakira/ghes-cve-scanner",
      "url": "https://github.com/isagoakira/ghes-cve-scanner",
      "created_at": "2026-05-05T18:37:43Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-01-30T01:54:49Z"
    },
    {
      "repo": "ridhinva/ghe-push-option-rce-scanner",
      "url": "https://github.com/ridhinva/ghe-push-option-rce-scanner",
      "created_at": "2026-05-22T20:44:20Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "error",
      "owner_created_at": "2019-07-04T03:28:18Z"
    },
    {
      "repo": "royaleybovich/CVE-2026-3854-lab",
      "url": "https://github.com/royaleybovich/CVE-2026-3854-lab",
      "created_at": "2026-08-02T15:30:22Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 9,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 100,
      "suspicious": true,
      "suspicion_reasons": [
        "README gives an archive password",
        "large base64 blob in code in vendor/forgejo/models/fixtures/TestParseCommitWithSSHSignature/public_key.yml",
        "large base64 blob in code in vendor/forgejo/models/fixtures/gpg_key.yml",
        "large base64 blob in code in vendor/forgejo/models/fixtures/public_key.yml",
        "large base64 blob in code in vendor/forgejo/models/gitea_migrations/fixtures/Test_RemigrateU2FCredentials/u2f_registration.yml",
        "large base64 blob in code in vendor/forgejo/models/gitea_migrations/v1_16/v210_test.go"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-12-21T12:16:38Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "GitHub",
        "product": "Enterprise Server",
        "ranges": [
          "\u003e= 3.14.0, \u003c= 3.14.24",
          "\u003e= 3.15.0, \u003c= 3.15.19",
          "\u003e= 3.16.0, \u003c= 3.16.15",
          "\u003e= 3.17.0, \u003c= 3.17.12",
          "\u003e= 3.18.0, \u003c= 3.18.6",
          "\u003e= 3.19.0, \u003c= 3.19.3"
        ],
        "fixed_in": [
          "3.14.25",
          "3.15.20",
          "3.16.16",
          "3.17.13",
          "3.18.7",
          "3.19.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Enterprise Server to 3.14.25 or 3.15.20 or 3.16.16 or 3.17.13 or 3.18.7 or 3.19.4 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
