cve.bz

CWE-185: Incorrect Regular Expression, published in 2026

Filter

The product specifies a regular expression in a way that causes data to be improperly matched or compared.

What the weakness is: CWE-185 at MITRE. All weaknesses

Related attack patterns (CAPEC): 3
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to CWE-185, as MITRE names them. Credits.

Ask an AI about CWE-185

Show the promptExplain CWE-185: Incorrect Regular Expression and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/185.html and https://cve.bz/cve/cwe/185?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 6.9CVE-2026-138148micromatch picomatchEPSS 0.4%

    picomatch through 4.0.7 contains a glob filter bypass vulnerability because globstar (**) patterns are compiled without the dotAll flag and fail to match line terminators. Attackers who control file, object key or archive entry names conta…

  2. 7.4CVE-2026-135230@fastify/expressEPSS 0.5%

    @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.3 before 4.0.14, the plugin decodes certain percent-encoded characters in the re…

  3. 4.3CVE-2026-131653tanium discoverEPSS 0.4%

    Tanium addressed an improper input validation vulnerability in Discover.

  4. 7.1CVE-2026-114653mongodb c# driverEPSS 0.3%

    A client-side encryption schema construction component in the MongoDB C# Driver places caller-supplied field identifiers into a position that is interpreted as a pattern expression, without normalizing or validating them. As a result, an a…

  5. 8.2CVE-2026-111755follow-redirectsEPSS 0.5%

    follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. From 1.16.0 until 1.16.1, escapeRegex leaves valid header-name metacharacters unescaped in sensitiveHeaders. When an application declares a s…

  6. 10.0CVE-2026-111057mljar mercuryEPSS 3.2%

    Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. From 3.0.0 until 3.2.4, a missing comma in BLOCKED_PATTERNS concatenates the /lab and /api/terminals regular-expression literals. Requests to /…

  7. 7.6CVE-2026-54506givanz vvvebEPSS 0.4%

    Vvveb is a powerful and easy to use CMS with page builder to build websites, blogs or ecommerce stores. Prior to 1.0.8.5, app/controller/user/profile.php accepts the user[bio] field and passes stored content through sanitizeHTML() in syste…

  8. 7.1CVE-2026-88021hashicorpEPSS 0.3%

    Consul and Consul Enterprise are vulnerable to an authorization bypass in the Connect service mesh that may allow a service to reach a destination it is not authorized to access. When building Envoy RBAC rules to enforce Connect intentions…

  9. 3.7CVE-2026-73425withastro astroEPSS 0.3%

    Astro is a web framework for content-driven websites. Prior to 8.1.2, the Astro Netlify adapter converts each image.remotePatterns entry into a regular expression written to .netlify/v1/config.json under images.remote_images for Netlify's …

  10. 2.1CVE-2026-64655cliEPSS 0.3%

    GitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.97.0, gh attestation verify  builds the certificate Subject Alternative Name matcher from the --signer-repo and --signer-workflow  flag values without escaping regex metach…

  11. 2.3CVE-2026-45065sensiolabs symfonyEPSS 0.3%

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, UrlGenerator validates route parameters against a pattern built as ^ plus the raw requirement pl…

  12. 6.9CVE-2026-56021webminEPSS 0.5%

    Webmin allows unauthenticated attackers to read the contents of any file ending in .conf within module directories, due to a bypassable regex pattern.

  13. 5.3CVE-2026-47674honoEPSS 0.3%

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the ip-restriction middleware (hono/ip-restriction) compares incoming IP addresses against configured deny and allow rules using string…

  14. 6.5CVE-2026-48147budibaseEPSS 0.2%

    Budibase is an open-source low-code platform. Prior to 3.35.4, the buildMatcherRegex() / matches() functions in packages/backend-core/src/middleware/matchers.ts route patterns are compiled into unanchored regular expressions and tested aga…

  15. 7.5CVE-2026-4296github enterprise serverEPSS 0.8%

    An incorrect regular expression vulnerability was identified in GitHub Enterprise Server that allowed an attacker to bypass OAuth redirect URI validation. An attacker with knowledge of a first-party OAuth application's registered callback …

  16. 6.5CVE-2026-25542linuxfoundation tekton pipelinesEPSS 0.4%

    Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Starting in version 0.43.0 and prior to versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1, trusted resources verification policies match a resource so…

  17. 5.4CVE-2026-39350istioEPSS 0.2%

    Istio is an open platform to connect, manage, and secure microservices. In versions 1.25.0 through 1.27.8, 1.28.0 through 1.28.5, 1.29.0, and 1.29.1, the serviceAccounts and notServiceAccounts fields in AuthorizationPolicy incorrectly inte…

  18. 6.3CVE-2026-33347thephpleague commonmarkEPSS 0.4%

    league/commonmark is a PHP Markdown parser. From version 2.3.0 to before version 2.8.2, the DomainFilteringAdapter in the Embed extension is vulnerable to an allowlist bypass due to a missing hostname boundary assertion in the domain-match…

  19. 7.5CVE-2026-33418dicebearEPSS 0.5%

    DiceBear is an avatar library for designers and developers. Prior to version 9.4.2, the `ensureSize()` function in `@dicebear/converter` used a regex-based approach to rewrite SVG `width`/`height` attributes, capping them at 2048px to prev…

  20. 8.8CVE-2026-27895ldap-account-manager ldap account managerEPSS 0.9%

    LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. Prior to version 9.5, the PDF export component does not correctly validate uploaded file extensions. This way…

  21. 5.3CVE-2026-3419fastifyEPSS 0.6%

    Fastify incorrectly accepts malformed `Content-Type` headers containing trailing characters after the subtype token, in violation of RFC 9110 §8.3.1(https://httpwg.org/specs/rfc9110.html#field.content-type). For example, a request sent wit…

  22. 9.3CVE-2026-25896naturalintelligence fast-xml-parserEPSS 0.6%

    fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. From 4.1.3to before 5.3.5, a dot (.) in a DOCTYPE entity name is treated as a regex wildcard d…

  23. 6.5CVE-2026-25479litestarEPSS 0.5%

    Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, in litestar.middleware.allowed_hosts, allowlist entries are compiled into regex patterns in a way that allows regex metacharacters to retain special me…

  24. 6.5CVE-2026-24398honoEPSS 0.4%

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, IP Restriction Middleware in Hono is vulnerable to an IP address validation bypass. The `IPV4_REGEX` pattern and `convertIPv4ToB…