# GHSA-PW4F-PQ6V-X57R: Read-scoped service tokens could disclose stored infrastructure credentials

- Database: GitHub
- Severity: CVSS 6.5 (Medium)
- Published: 2026-09-30
- Modified: 2026-09-30

## Affected versions

- github.com/0xJacky/Nginx-UI (Go): from 2.5.3, through 2.6.1

## Description

## Summary

Several read APIs returned stored credentials to any caller holding an `api:read` service token. The affected responses included DNS provider secrets, ACME External Account Binding credentials, and S3-compatible backup credentials. These values are needed by Nginx UI internally, but exposing them to non-interactive automation credentials exceeded the intended read scope.

## Impact

An attacker who obtained a valid read-scoped service token could retrieve reusable credentials for configured DNS providers, ACME EAB integrations, or S3-compatible storage. The exact downstream impact depends on the permissions granted to those external credentials. The issue is authenticated and does not grant anonymous access.

## Remediation

Credential-bearing fields are now redacted from DNS, ACME EAB, and S3 configuration responses when the caller is a service-token principal, including read-scoped and write-scoped service tokens. Interactive administrator behavior is unchanged so authorized administrators can continue to manage these integrations through the UI.

Fixed by [9594b04de86728cfee8112d52f1eb0f3203032e6](https://github.com/0xJacky/nginx-ui/commit/9594b04de86728cfee8112d52f1eb0f3203032e6).

## References

- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-pw4f-pq6v-x57r

Page: https://cve.now/GHSA-PW4F-PQ6V-X57R

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
