Skip to content
OpenAdvisories

Weakness (CWE)

CWE-625: Permissive Regular Expression

Base Draft

The product uses a regular expression that does not sufficiently restrict the set of allowed values.

How to prevent it (1 mitigation)
  1. Implementation

    When applicable, ensure that the regular expression marks beginning and ending string patterns, such as "/^string$/" for Perl.

Source: MITRE CWE-625

3 results · Clear filters · Feed

  • Critical 9.1

    CallBackery versions before 0.62.0 for Perl accept unintended values in form fields checked by createRxValidator

    CallBackery versions before 0.62.0 for Perl accept unintended values in form fields checked by createRxValidator. createRxValidator() is documented to anchor the supplied pattern at both ends, but builds /^${rx}$/ without grouping the pattern. An alternation …

  • Critical 9.1

    Browser Server WebSocket origin validation bypass via unanchored regex (patch bypass of CVE-2026-40289 / GHSA-8x8f-54wf-vv92)

    PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.58, Browser Server _handle_connection() checks Chrome extension origins with re.match() and the unanchored expression chrome-extension://[a-z0-9]{32}. Extra trailing characters pass before websoc…

  • Critical 9.8

    OpenClaw < 2026.3.11 - Exec Allowlist Pattern Overmatch via POSIX Path Normalization

    OpenClaw before 2026.3.11 contains an exec allowlist bypass vulnerability where matchesExecAllowlistPattern improperly normalizes patterns with lowercasing and glob matching that overmatches on POSIX paths. Attackers can exploit the ? wildcard matching across…