PYSEC-2026-1404

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/git-url-parse/PYSEC-2026-1404.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-1404
Aliases
Published
2026-07-07T11:45:18Z
Modified
2026-07-07T17:46:43Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
git-url-parse Regular Expression Denial of Service
Details

giturlparse (aka git-url-parse) through 1.2.2, as used in Semgrep 1.5.2 through 1.24.1, is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing untrusted URLs. This might be relevant if Semgrep is analyzing an untrusted package (for example, to check whether it accesses any Git repository at an http:// URL), and that package's author placed a ReDoS attack payload in a URL used by the package.

References

Affected packages

PyPI / git-url-parse

Package

Name
git-url-parse
View open source insights on deps.dev
Purl
pkg:pypi/git-url-parse

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.2.2

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.1
1.2.2

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/git-url-parse/PYSEC-2026-1404.yaml"