{
  "id": "CVE-2025-49125",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-49125",
  "published_at": "2025-06-16T14:18:09.61Z",
  "title": "Apache Tomcat: Security constraint bypass for pre/post-resources",
  "vendor": "Apache Software Foundation",
  "product": "Apache Tomcat",
  "cvss": {
    "score": 7.5,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Authentication Bypass Using an Alternate Path or Channel vulnerability in Apache Tomcat.  When using PreResources or PostResources mounted other than at the root of the web application, it was possible to access those resources via an unexpected path. That path was likely not to be protected by the same security constraints as the expected path, allowing those security constraints to be bypassed.\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.7, from 10.1.0-M1 through 10.1.41, from 9.0.0.M1 through 9.0.105.\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 through 8.5.100. Other, older, EOL versions \nmay also be affected.\n\n\nUsers are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.",
  "cwe": "CWE-288",
  "cpes": [
    "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.5
  },
  "repos": [
    {
      "repo": "gregk4sec/CVE-2025-49125",
      "url": "https://github.com/gregk4sec/CVE-2025-49125",
      "created_at": "2025-06-03T03:04:52Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "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.7",
          "\u003e= 10.1.0-M1, \u003c= 10.1.41",
          "\u003e= 9.0.0.M1, \u003c= 9.0.105",
          "\u003e= 8.5.0, \u003c= 8.5.100"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 11.0.0-M1, \u003c 11.0.8"
        ],
        "fixed_in": [
          "11.0.8"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-wc4r-xq3c-5cf3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 10.1.0-M1, \u003c 10.1.42"
        ],
        "fixed_in": [
          "10.1.42"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-wc4r-xq3c-5cf3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 9.0.0.M1, \u003c 9.0.106"
        ],
        "fixed_in": [
          "9.0.106"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-wc4r-xq3c-5cf3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 11.0.0-M1, \u003c 11.0.8"
        ],
        "fixed_in": [
          "11.0.8"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-wc4r-xq3c-5cf3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 10.1.0-M1, \u003c 10.1.42"
        ],
        "fixed_in": [
          "10.1.42"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-wc4r-xq3c-5cf3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat.embed:tomcat-embed-core",
        "ranges": [
          "\u003e= 9.0.0.M1, \u003c 9.0.106"
        ],
        "fixed_in": [
          "9.0.106"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-wc4r-xq3c-5cf3"
      },
      {
        "vendor": "",
        "product": "org.apache.tomcat:tomcat-catalina",
        "ranges": [
          "\u003e= 8.5.0, \u003c= 8.5.100"
        ],
        "fixed_in": null,
        "ecosystem": "Maven",
        "advisory": "GHSA-wc4r-xq3c-5cf3"
      },
      {
        "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-wc4r-xq3c-5cf3"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.tomcat:tomcat-catalina to 11.0.8 or later.",
      "Upgrade org.apache.tomcat:tomcat-catalina to 10.1.42 or later.",
      "Upgrade org.apache.tomcat:tomcat-catalina to 9.0.106 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 11.0.8 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 10.1.42 or later.",
      "Upgrade org.apache.tomcat.embed:tomcat-embed-core to 9.0.106 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
