---
title: "CVE-2024-23827: Nginx-UI vulnerable to arbitrary file write through the Import Certificate feature"
url: https://erroneo.us/security/cve/CVE-2024-23827/
description: "CVE-2024-23827 (github.com/0xJacky/Nginx-UI (Go)): Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-01-29
date_modified: 2026-07-06
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-23827"
kev: false
cvss: 9.3
epss: 0.00705
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-23827: Nginx-UI vulnerable to arbitrary file write through the Import Certificate feature

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.7% , percentile 53: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 53% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/0xJacky/Nginx-UI (Go) < 1.9.10-0.20240128060047-8581bdd3c6f4, fixed in 1.9.10-0.20240128060047-8581bdd3c6f4 . Check your lockfile, including transitive dependencies.

## What it is

Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into the system. The feature does not check if the provided user input is a certification/key and allows to write into arbitrary paths in the system. It's possible to leverage the vulnerability into a remote code execution overwriting the config file app.ini. Version 2.0.0.beta.12 fixed the issue.

## Affected packages

- Go `github.com/0xJacky/Nginx-UI` < 1.9.10-0.20240128060047-8581bdd3c6f4 → fixed: 1.9.10-0.20240128060047-8581bdd3c6f4

## Affected products (CVE record)

- 0xJacky nginx-ui: < 2.0.0.beta.12

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 4.0: 9.3 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.70% probability of exploitation activity in the next 30 days; percentile 53.

## Sources

- [GitHub Advisory GHSA-xvq9-4vpv-227m](https://github.com/advisories/GHSA-xvq9-4vpv-227m)
- [CVE.org record CVE-2024-23827](https://www.cve.org/CVERecord?id=CVE-2024-23827)
- [NVD entry CVE-2024-23827](https://nvd.nist.gov/vuln/detail/CVE-2024-23827)
- [github.com](https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m)
- [github.com](https://github.com/0xJacky/nginx-ui/commit/8581bdd3c6f49ab345b773517ba9173fa7fc6199)
- [github.com](https://github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/api/certificate/certificate.go#L72)
- [github.com](https://github.com/0xJacky/nginx-ui/blob/f20d97a9fdc2a83809498b35b6abc0239ec7fdda/internal/cert/write_file.go#L15)

---
Source page: https://erroneo.us/security/cve/CVE-2024-23827/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
