Plenti arbitrary file write vulnerabilityGHSA-2p96-p7qh-4rgr
GHSA-2p96-p7qh-4rgr is a CWE-74 vulnerability in github.com/plentico/plenti. A fix is available for github.com/plentico/plenti — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for GHSA-2p96-p7qh-4rgr.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
github.com/plentico/plentiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Plenti, a static site generator, has an arbitrary file write vulnerability in versions prior to 0.7.2. The /postLocal endpoint is vulnerable to an arbitrary file write vulnerability when a plenti user serves their website. This issue may lead to Remote Code Execution. Version 0.7.2 fixes the vulnerability.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/plentico/plenti | all versions | 0.7.2go get github.com/plentico/plenti@v0.7.2 |
Affected Products
plentiplentiDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/plentico/plenti, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/plentico/plenti to 0.7.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-2p96-p7qh-4rgr is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect GHSA-2p96-p7qh-4rgr
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-2p96-p7qh-4rgr -u https://target- Template
- Plenti < v0.7.2 - OS Command Injection
- Severity
- critical
- Impact
- Unauthenticated attackers can write arbitrary files to the server, potentially achieving remote code execution.
- Remediation
- Update Plenti to version 0.7.2 or later.
Template by ProjectDiscovery nuclei-templates (iamnoooob, rootxharsh, pdresearch), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-2p96-p7qh-4rgr in your dependencies?
Find it across Go, including transitive dependencies.