PyPA Advisory Database
PYSEC-2026-1270
configobj ReDoS exploitable by developer using values in a server-side configuration file
Details
All versions of the package configobj are vulnerable to Regular Expression Denial of Service (ReDoS) via the validate function, using (.+?)\((.*)\). Note: This is only exploitable in the case of a developer, putting the offending value in a server side configuration file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | configobj | All versions before 5.0.9 (fixed in 5.0.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26112
- https://github.com/DiffSK/configobj/issues/232
- https://github.com/DiffSK/configobj/commit/7c618b0bbaff6ecaca51a6f05b29795d1377a4a5
- https://github.com/DiffSK/configobj
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6BO4RLMYEJODCNUE3DJIIUUFVTPAG6VN
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NZHY7B33EFY4LESP2NI4APQUPRROTAZK
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PYU4IHVLOTYMFPH7KDOJGKZQR4GKWPFK
- https://pypi.org/project/configobj/5.0.9
- https://security.snyk.io/vuln/SNYK-PYTHON-CONFIGOBJ-3252494
- https://pypi.org/project/configobj
- https://github.com/advisories/GHSA-c33w-24p9-8m24