{
  "id": "CVE-2025-46701",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-46701",
  "published_at": "2025-05-29T19:06:04.289Z",
  "title": "Apache Tomcat: Security constraint bypass for CGI scripts",
  "vendor": "Apache Software Foundation",
  "product": "Apache Tomcat",
  "cvss": {
    "score": 7.3,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-04-29T00:47:12Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -30.8,
    "repo": "gregk4sec/CVE-2025-46701",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Improper Handling of Case Sensitivity vulnerability in Apache Tomcat's GCI servlet allows security constraint bypass of security constraints that apply to the pathInfo component of a URI mapped to the CGI servlet.\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.6, from 10.1.0-M1 through 10.1.40, from 9.0.0.M1 through 9.0.104.\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions \nmay also be affected.\n\n\nUsers are recommended to upgrade to version 11.0.7, 10.1.41 or 9.0.105, which fixes the issue.",
  "cwe": "CWE-178",
  "cpes": [
    "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.3
  },
  "repos": [
    {
      "repo": "gregk4sec/CVE-2025-46701",
      "url": "https://github.com/gregk4sec/CVE-2025-46701",
      "created_at": "2025-04-29T00:47:12Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-13T17:35:11Z"
    },
    {
      "repo": "gregk4sec/CVE-2025-46701-o",
      "url": "https://github.com/gregk4sec/CVE-2025-46701-o",
      "created_at": "2025-04-29T00:47:12Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-13T17:35:11Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Tomcat",
        "ranges": [
          "\u003e= 11.0.0-M1, \u003c= 11.0.6",
          "\u003e= 10.1.0-M1, \u003c= 10.1.40",
          "\u003e= 9.0.0.M1, \u003c= 9.0.104",
          "\u003e= 8.5.0, \u003c= 8.5.100"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 9.0.0.M1, \u003c 9.0.105"
        ],
        "fixed_in": [
          "9.0.105"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 10.1.0-M1, \u003c 10.1.41"
        ],
        "fixed_in": [
          "10.1.41"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 11.0.0-M1, \u003c 11.0.7"
        ],
        "fixed_in": [
          "11.0.7"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 9.0.0.M1, \u003c 9.0.105"
        ],
        "fixed_in": [
          "9.0.105"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 10.1.0-M1, \u003c 10.1.41"
        ],
        "fixed_in": [
          "10.1.41"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 11.0.0-M1, \u003c 11.0.7"
        ],
        "fixed_in": [
          "11.0.7"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 8.5.0, \u003c= 8.5.100"
        ],
        "fixed_in": null,
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 8.5.0, \u003c= 8.5.100"
        ],
        "fixed_in": null,
        "ecosystem": "Maven",
        "advisory": "GHSA-h2fw-rfh5-95r3"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.tomcat:tomcat-catalina to 9.0.105 or later.",
      "Upgrade org.apache.tomcat:tomcat-catalina to 10.1.41 or later.",
      "Upgrade org.apache.tomcat:tomcat-catalina to 11.0.7 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 9.0.105 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 10.1.41 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 11.0.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://lists.apache.org/thread/xhqqk9w5q45srcdqhogdk04lhdscv30j"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/cgi-bin/rce.pl",
      "protocol": "https",
      "repos": [
        "gregk4sec/CVE-2025-46701",
        "gregk4sec/CVE-2025-46701-o"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "gregk4sec/CVE-2025-46701/CVE-2025-46701-PoC.md:50",
        "gregk4sec/CVE-2025-46701-o/CVE-2025-46701-PoC.md:50"
      ]
    },
    {
      "method": "PUT",
      "path_template": "/cgi-bin/RCE.PL",
      "body_markers": [
        "print \"{var}{var} 200 OK\\n\\Content-Type: text/plain\\n\\n\\!\\!\\!Hacked\\!\\!\\!\\n\";="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "gregk4sec/CVE-2025-46701",
        "gregk4sec/CVE-2025-46701-o"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "gregk4sec/CVE-2025-46701/CVE-2025-46701-PoC.md:43",
        "gregk4sec/CVE-2025-46701-o/CVE-2025-46701-PoC.md:43"
      ]
    }
  ],
  "rules": []
}
