CVE-2026-60062
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe NGINX Agent config_dirs directive allows a low-privileged attacker to gain limited read and write access to files outside of the designated secure directory. The config_dirs directive required for this issue can also be configured through NGINX Instance Manager. A successful exploit may allow an attacker to cross a security boundary. Impact: A remotely authenticated low-privileged attacker could gain limited read and write access outside of the list of directories specified in the NGINX Agent configuration. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThe NGINX Agent config_dirs directive contains a path traversal vulnerability allowing an authenticated low-privileged attacker to read and write files outside the designated secure directories. The vulnerable directive can be configured through NGINX Instance Manager, and successful exploitation allows crossing the security boundary between the intended secure directory list and the filesystem.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.37.0, < 2.46.7>= 2.17.1, < 2.22.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify NGINX Agent installationRun 'nginx-agent --version' or check for the nginx-agent binary in common locations such as /usr/sbin/nginx-agent, /usr/local/bin/nginx-agent, or via package manager listings (dpkg -l | grep nginx-agent, rpm -qa | grep nginx-agent)Affected if NGINX Agent is installed and the version falls within the affected range (compare your installed version to known affected versions if available)
-
Check if config_dirs directive is configuredExamine NGINX Agent configuration files (typically /etc/nginx-agent/nginx-agent.conf or /etc/nginx-agent.conf) and look for the 'config_dirs' directive. Also check NGINX Instance Manager web interface configuration if that component is in use.Affected if The config_dirs directive is present and configured in the NGINX Agent or NGINX Instance Manager configuration
-
Verify config_dirs path boundariesReview the directory paths specified in the config_dirs directive. Identify if the configured paths allow access to sensitive system directories or if they are properly scoped to specific application directories only.Affected if The config_dirs directive points to directories that should not be accessible (such as /, /etc/, /root/, or any directory outside the intended secure scope)
-
Confirm NGINX Instance Manager exposureDetermine if NGINX Instance Manager is running and accessible. Check for nginx-instance-manager service (systemctl status nginx-instance-manager) and its configuration files in /etc/nginx-instance-manager/ or similar locations.Affected if NGINX Instance Manager is deployed and config_dirs can be configured through its web UI or API
-
Review authentication and access controlsAudit user accounts and API keys with access to NGINX Agent configuration or NGINX Instance Manager. Check for low-privileged accounts that have permission to modify or view the config_dirs setting.Affected if Low-privileged or unauthenticated users have the ability to modify the config_dirs configuration
Your environment is affected if NGINX Agent with a configurable config_dirs directive is running and the configured directories allow access outside the intended secure scope, especially if NGINX Instance Manager is accessible to low-privileged users.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor data2.22.22.46.7
Restrict the config_dirs directive to only the minimum required directories, implement strict path validation (canonicalization and boundary checking), and ensure least-privilege access controls for NGINX Agent and Instance Manager authentication.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-60062 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-60062 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data