
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-3312 is an information disclosure vulnerability in Pagure's reStructuredText (RST) rendering engine, allowing authenticated users to read arbitrary internal files from the server. The flaw stems from Pagure's failure to restrict the .. include:: directive provided by the docutils library during RST file rendering. The CVE was reported on 2026-02-27 and published on 2026-03-13, with a patch tracked via Red Hat Bugzilla. It is estimated to be of Medium severity (Red Hat CVE, Red Hat Bugzilla).
The root cause is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — Path Traversal). The docutils library, used by Pagure to render RST files, supports a .. include:: directive that can reference local filesystem paths. Because Pagure does not sandbox or restrict this directive during the rendering pipeline, an authenticated user can craft an RST file containing .. include:: /etc/passwd (or any other server-side path) and have its contents rendered and returned in the browser. Exploitation requires only authentication — no elevated privileges are needed (Red Hat CVE, Red Hat Bugzilla).
Successful exploitation allows an authenticated attacker to read arbitrary files accessible to the Pagure server process, including sensitive configuration files, credentials, SSH keys, or other internal data. This constitutes a confidentiality breach with no direct impact on integrity or availability. Depending on the files exposed (e.g., database credentials or API tokens), the vulnerability could serve as a stepping stone for further compromise or lateral movement within the hosting environment (Red Hat CVE, Red Hat Bugzilla).
The CVE status is currently "Reserved" and no public proof-of-concept exploit code has been identified. Exploitation requires authentication to the Pagure instance, which limits the attack surface compared to unauthenticated vulnerabilities. No in-the-wild exploitation, threat actor attribution, EPSS score, or CISA KEV catalog listing has been reported at this time. A Nessus detection plugin (ID 302892) has been published by Tenable (Tenable Nessus, Red Hat CVE).
.rst extension... include:: /etc/passwdor for more sensitive targets:.. include:: /etc/shadow
.. include:: /home/pagure/.ssh/id_rsa.rst files, particularly those committed by unexpected users or containing unusual content; repeated rendering requests for the same RST file shortly after commit... include:: directives referencing absolute paths (e.g., /etc/, /home/, /var/) rather than relative repository paths.A patch has been tracked in Red Hat Bugzilla (Bug 2443259) with dependent fixes in bugs 2448309 and 2448310. Administrators should apply the fixed version of Pagure once released. As a workaround, consider disabling RST rendering for untrusted users, restricting the docutils file_insertion_enabled setting to False in the Pagure docutils configuration, or limiting repository write access to trusted users only. Monitor for RST files containing .. include:: directives referencing absolute paths (Red Hat Bugzilla, Red Hat CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."