Description
Trac before 0.9.6 does not disable the "raw" or "include" commands when providing untrusted users with restructured text (reStructuredText) functionality from docutils, which allows remote attackers to read arbitrary files, perform cross-site scripting (XSS) attacks, or cause a denial of service via unspecified vectors. NOTE: this might be related to CVE-2006-3458.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | trac | 0.9.6-1 | — |
| Debian 13 | trac | 0.9.6-1 | — |
| Debian 3.1 | trac | 0.8.1-3sarge5 | DSA-1152 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | trac | < 0.9.6 | 0.9.6 | GHSA-r524-c2gf-5chr |
Advisories 1
- DSA-1152 trac - missing input sanitising Debian Security (DSA / DLA) · Mar 9, 2026
References
- trac-restructuredtext-obtain-information(27706) vdb-entry
- ADV-2006-2729 vdb-entry
- 20958 third-party-advisory
- 1016457 vdb-entry
- 18323 vdb-entry
- trac-restructuredtext-dos(27708) vdb-entry
- DSA-1152 vendor-advisory
- 21534 third-party-advisory
- http://trac.edgewall.org/wiki/ChangeLog