CVE-2026-18997: Incorrect Authorization in cosmicstack-labs mercury-agent
A vulnerability in cosmicstack-labs mercury-agent up to version 1.1.12 allows remote attackers to cause incorrect authorization via manipulation of the Agent.handleBgCommand function. The issue affects the background command handler component and could lead to limited confidentiality, integrity, and availability impacts. The vulnerability has a CVSS score of 6.3 and is classified as low severity. No patch or official fix has been reported yet, and the project has not responded to the issue report. Exploit code has been made public, but no known exploitation in the wild has been confirmed.
AI Analysis
Technical Summary
CVE-2026-18997 is a vulnerability in the cosmicstack-labs mercury-agent software, specifically in the Agent.handleBgCommand function within src/core/agent.ts. This flaw allows remote attackers to manipulate background commands, resulting in incorrect authorization. The vulnerability affects versions up to 1.1.12. The issue was responsibly disclosed but remains unaddressed by the vendor. The CVSS 3.1 vector indicates network attack vector, low attack complexity, requires low privileges, no user interaction, unchanged scope, and impacts confidentiality, integrity, and availability at a low level.
Potential Impact
The vulnerability allows remote attackers to bypass proper authorization checks, potentially leading to unauthorized actions within the affected component. The impact includes limited confidentiality, integrity, and availability loss. There is no evidence of active exploitation in the wild, but public exploit code exists.
Mitigation Recommendations
No official patch or fix is currently available. Users should monitor the vendor's communications for updates. Until a fix is released, consider restricting network access to the affected service and applying compensating controls to limit exposure. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-18997: Incorrect Authorization in cosmicstack-labs mercury-agent
Description
A vulnerability in cosmicstack-labs mercury-agent up to version 1.1.12 allows remote attackers to cause incorrect authorization via manipulation of the Agent.handleBgCommand function. The issue affects the background command handler component and could lead to limited confidentiality, integrity, and availability impacts. The vulnerability has a CVSS score of 6.3 and is classified as low severity. No patch or official fix has been reported yet, and the project has not responded to the issue report. Exploit code has been made public, but no known exploitation in the wild has been confirmed.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/cosmicstack-labs/mercury-agentRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18997 is a vulnerability in the cosmicstack-labs mercury-agent software, specifically in the Agent.handleBgCommand function within src/core/agent.ts. This flaw allows remote attackers to manipulate background commands, resulting in incorrect authorization. The vulnerability affects versions up to 1.1.12. The issue was responsibly disclosed but remains unaddressed by the vendor. The CVSS 3.1 vector indicates network attack vector, low attack complexity, requires low privileges, no user interaction, unchanged scope, and impacts confidentiality, integrity, and availability at a low level.
Potential Impact
The vulnerability allows remote attackers to bypass proper authorization checks, potentially leading to unauthorized actions within the affected component. The impact includes limited confidentiality, integrity, and availability loss. There is no evidence of active exploitation in the wild, but public exploit code exists.
Mitigation Recommendations
No official patch or fix is currently available. Users should monitor the vendor's communications for updates. Until a fix is released, consider restricting network access to the affected service and applying compensating controls to limit exposure. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9hrj-55h5-5mr2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-18997"]
- Ecosystems
- []
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6a74cfa9bf8831d5391b143f
Added to database: 08/06/2026, 18:17:13 UTC
Last enriched: 08/06/2026, 19:17:18 UTC
Last updated: 08/07/2026, 02:40:59 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.