CWE-625
Permissive Regular Expression
Produkt wykorzystuje wyrażenie regularne, które nie ogranicza wystarczająco zbioru dozwolonych wartości. Może to prowadzić do zaakceptowania niezamierzonych lub potencjalnie niebezpiecznych danych wejściowych.
The product uses a regular expression that does not sufficiently restrict the set of allowed values.
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 websocket.accept(), allowing start_session commands and unauthorized browser automation. This issue is fixed in version 4.6.58.
Tegalog -Fumy Otegaru Memo Logger- provided by Nishishi Factory contains a vulnerability due to a permissive regular expression, which may allow an attacker who can access the affected product to log in to the management console. As a result, the attacker may perform any operations available from the management console.
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 path segments to execute commands or paths not intended by operators.
Permissive regular expression vulnerability in synophoto_dsm_user in Synology Photo Station before 6.8.5-3471 and before 6.3-2975 allows remote authenticated users to conduct privilege escalation attacks via the fullname parameter.
Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, the Origin header validation uses Python's re.match() to check incoming origins against the allow_origin_pat configuration value. Because re.match() only anchors at the start of the string and does not require a full match, a pattern intended to match only a trusted domain (e.g., trusted.example.com) will also match any origin that begins with that domain followed by additional characters (e.g., trusted.example.com.evil.com). An attacker who controls such a domain can bypass the CORS origin restriction and make cross-origin requests to the Jupyter Server API from an untrusted site. This issue has been fixed in version 2.18.0.
A flaw was found in StackRox/RHACS Central's Auth Machine-to-Machine (M2M) token exchange. When an administrator configures M2M role mappings, the system uses unanchored regular expressions for matching claim values. This allows an attacker with a valid OpenID Connect (OIDC) token, whose claim value is a superstring of a configured pattern, to gain unauthorized access to roles they were not intended to receive. This can lead to privilege escalation within the system.
Niesprecyzowane wyrażenie regularne w Azure Compute Gallery umożliwia autoryzowanemu atakującemu lokalne podniesienie uprawnień.
sanic-cors w wersji 2.2.0 i starszych zawiera nieprawidłowe wyrażenie regularne w funkcji try_match() w pliku sanic_cors/core.py, które używa re.match bez zakotyczenia końca. Pozwala to atakującemu obejść listy dozwolonych źródeł CORS, rejestrując domenę rozpoczynającą się od zaufanego ciągu pochodzenia, aby uzyskać nieuprawnionych dostęp do żądań cross-origin dla zasobów wymagających uwierzytelnienia.
A URL parsing issue in goog.uri of the Google Closure Library versions up to and including v20200224 allows an attacker to send malicious URLs to be parsed by the library and return the wrong authority. Mitigation: update your library to version v20200315.
Rack to modułowy interfejs web servera Ruby. Przed wersjami 2.2.23, 3.1.21 i 3.2.6, funkcja Rack::Sendfile#map_accel_path interpoluje wartość nagłówka żądania X-Accel-Mapping bezpośrednio do wyrażenia regularnego podczas przepisywania ścieżek plików dla X-Accel-Redirect. Ponieważ wartość nagłówka nie jest escapowana, osoba atakująca mogąca dostarczyć X-Accel-Mapping do backendu może wstrzyknąć znaki specjalne regex i kontrolować wygenerowany nagłówek odpowiedzi X-Accel-Redirect. W wdrożeniach używających Rack::Sendfile z x-accel-redirect może to pozwolić atakującemu na zmuszenie nginx do obsługi niezamierzonych plików z skonfigurowanych lokalizacji wewnętrznych. Problem został naprawiony w wersjach 2.2.23, 3.1.21 i 3.2.6.
A flaw was found in the Keycloak package. This issue occurs due to a permissive regular expression hardcoded for filtering which allows hosts to register a dynamic client. A malicious user with enough information about the environment could jeopardize an environment with this specific Dynamic Client Registration and TrustedDomain configuration previously unauthorized.
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to 0.4.112, the ckan_get_mqa_quality and ckan_get_mqa_quality_details tools in src/tools/quality.ts use isValidMqaServer to validate the server_url parameter with a prefix-only regular expression for dati.gov.it, allowing suffix-host and URL-userinfo values to target an attacker-controlled host and return a spoofed response. This issue is fixed in version 0.4.112.
Rack to modularny interfejs serwera WWW dla Ruby'ego. Przed wersjami 2.2.23, 3.1.21 i 3.2.6, klasa Rack::Directory bezpośrednio interpoluje skonfigurowaną ścieżkę root do wyrażenia regularnego podczas uzyskiwania wyświetlanej ścieżki katalogów. Jeśli root zawiera znaki metaznaków regex, takie jak +, * lub ., usuwanie prefiksu może się nie powieść, a wygenerowana lista katalogów może ujawnić pełną ścieżkę systemu plików w danych wyjściowych HTML. Problem został naprawiony w wersjach 2.2.23, 3.1.21 i 3.2.6.
CarrierWave jest frameworkiem do przesyłania plików z aplikacji Ruby. W wersjach przed 2.2.7 i 3.1.3 sprawdzenie content_type_denylist nie escapeuje metacharakterów regex w wpisach string, powodując, że lista blokowania dyskretnie nie pasuje do typów zawartości, które miała zablokować. W lib/carrierwave/uploader/content_type_denylist.rb:57 wpisy listy są interpolowane bezpośrednio do regex bez Regexp.quote lub anchorsowania, więc wpis taki jak image/svg+xml staje się wzorem /image\/svg+xml/, w którym + jest traktowany jako quantifier zamiast znaku dosłownego i nigdy nie pasuje do rzeczywistego typu MIME image/svg+xml. W wyniku tego każda aplikacja polegająca na content_type_denylist do blokowania image/svg+xml, najczęściej w celu zapobiegania stored XSS, jest dyskretnie pozbawiona ochrony – atakujący może przesłać plik SVG zawierający dowolny JavaScript, a jeśli aplikacja serwuje ten