# CVE-2026-47693: Poweradmin: CSV Injection in log export endpoints allows formula execution in spreadsheet applications

> Attackers can inject malicious formulas into exported CSV logs, leading to code execution or data exfiltration when administrators open the file in spreadsheet software.

- **Severity:** Medium 6.9 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 23 Jun 2026
- **Updated:** 24 Jun 2026
- **Also known as:** GHSA-3h6h-67x3-cv5x

## What is CVE-2026-47693?

CVE-2026-47693 is a medium-severity vulnerability in poweradmin, published on 23 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

### Official description

Poweradmin is a web-based DNS administration tool for PowerDNS server. Versions prior to 4.2.4 and 4.3.3 are vulnerable to CSV Injection (Formula Injection) in its log export functionality. User-controlled data — specifically the username field — is written to exported CSV files without sanitizing formula trigger characters (=, +, -, @). When an administrator exports activity logs and opens the resulting CSV in a spreadsheet application (Microsoft Excel, LibreOffice Calc, Google Sheets), any formula stored in a username is executed by the application. This can be used for phishing attacks against administrators or data exfiltration. Versions 4.2.4 and 4.3.3 patch the issue.

Weakness: CWE-1236 (Improper Neutralization of Formula Elements in a CSV File)

## Which versions are affected by CVE-2026-47693?

4 open source packages ship an affected version, including poweradmin/poweradmin.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `poweradmin/poweradmin` | Packagist | All versions | 4.2.4 |
| `poweradmin/poweradmin` | Packagist | All versions | 4.2.4 |
| `poweradmin/poweradmin` | Packagist | From 4.3.0 | 4.3.3 |
| `poweradmin/poweradmin` | Packagist | From 4.3.0 | 4.3.3 |

## How do I fix CVE-2026-47693?

Upgrade poweradmin/poweradmin to a fixed version for your release line: 4.2.4 or 4.3.3.

## Is CVE-2026-47693 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47693 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-47693 and fix it if it is affected.

What it is: CVE-2026-47693 is a medium-severity vulnerability in poweradmin, published on 23 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47693 exists.

Affected packages and fixed versions:
- poweradmin/poweradmin (Packagist): affected all versions; fixed in 4.2.4
- poweradmin/poweradmin (Packagist): affected all versions; fixed in 4.2.4
- poweradmin/poweradmin (Packagist): affected from 4.3.0; fixed in 4.3.3
- poweradmin/poweradmin (Packagist): affected from 4.3.0; fixed in 4.3.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-47693/ (Markdown: https://insights.sbomify.com/CVE-2026-47693/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-47693
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-47693
- OSV: https://osv.dev/vulnerability/CVE-2026-47693

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-47693/
Summaries are generated and may contain mistakes; the official description above is the record.
