# CVE-2006-3695: PYSEC-2006-2 - Trac before 0.9.6 does not disable the "raw" or "include" commands when providing untrusted users with restructured text (reStructuredText)

Source: https://junglewise.ai/threats/cve-2006-3695-trac-restructuredtext-breach-of-privacy-and-denial-of-service  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2006-07-21  
License: CC BY 4.0 with a link back

CVE-2006-3695 · Severity: low · CVSS 3.1 · Published 2006-07-21

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.

Technologies: [trac (PyPI)](https://junglewise.ai/threats/technologies/trac). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2006-3695 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2006-3695 being exploited in the wild.

**How severe is CVE-2006-3695?** Low severity, with a CVSS score of 3.1, published 21 July 2006.

**Which products and versions are affected?** trac (PyPI) ECOSYSTEM:introduced=0,fixed=0.9.6.

**Is there a fix for CVE-2006-3695?** Yes. trac (PyPI): upgrade to 0.9.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2006-3695?** Check whether you run trac (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- trac (PyPI): upgrade to 0.9.6 or later

  ```sh
  pip install "trac>=0.9.6"
  ```


## Affected products

- trac (PyPI) ECOSYSTEM:introduced=0,fixed=0.9.6

## Identifiers

- CVE-2006-3695
- GHSA-r524-c2gf-5chr
- PYSEC-2006-2

## Related threats

- [Trac is vulnerable to improper policy checks and missing 'raw' role check in docutils](https://junglewise.ai/threats/cve-2009-4405-trac-is-vulnerable-to-improper-policy-checks-and-missing-raw-role)
- [Trac vulnerable to denial of service](https://junglewise.ai/threats/cve-2008-5646-trac-vulnerable-to-denial-of-service)
- [Trac has vulnerability in HTML sanitizer filter](https://junglewise.ai/threats/cve-2008-5647-trac-has-vulnerability-in-html-sanitizer-filter)
- [Trac Cross-site Scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2008-3328-trac-cross-site-scripting-xss-vulnerability)
- [Trac Open Redirect vulnerability](https://junglewise.ai/threats/cve-2008-2951-trac-open-redirect-vulnerability)
