# GHSA-2gq2-m628-33xp: gregwar/rst Local File Inclusion Vulnerability

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T21:49:20.000Z
- Modified: 2024-11-29T05:41:31.850Z

## Description

A Local File Inclusion (LFI) vulnerability has been discovered in the gregwar/rst library, potentially exposing sensitive files on the server to unauthorized users. The issue arises from inadequate input validation, allowing an attacker to manipulate file paths and include arbitrary files.

(As written by GitHub Advisory Database.)

## Affected

- gregwar/rst (Packagist): before 1.0.3

## References

- <https://github.com/Gregwar/RST/pull/34> (web)
- <https://github.com/Gregwar/RST/commit/e8d90ccbeddd91ba3abc506079661dce234f9870> (web)
- <https://hackerone.com/reports/179034> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/gregwar/rst/2016-10-31.yaml> (web)
- <https://github.com/Gregwar/RST> (package)

## Sources

- GitHub Advisory Database: [GHSA-2gq2-m628-33xp](https://github.com/advisories/GHSA-2gq2-m628-33xp), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-2gq2-m628-33xp · Whole record: https://cve.day/GHSA-2gq2-m628-33xp.json · Rebuilt by cve.day 2026-11-25T22:56:30.743Z
