CVE-2026-18997
cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
- State
- Published
- Severity
- 5.3 Medium
- Published
- Aug 6, 2026
- Updated
- Aug 6, 2026
- Reserved
- Aug 5, 2026
Description
A vulnerability was found in cosmicstack-labs mercury-agent up to 1.1.12. This issue affects the function Agent.handleBgCommand of the file src/core/agent.ts of the component bg Command Handler. Performing a manipulation results in incorrect authorization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
mercury-agentcosmicstack-labs |
|
References
- VDB-386380 | cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorizationvdb-entrytechnical-description
- VDB-386380 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-18997 | CVE Analysis and Reportthird-party-advisory
- Submit #862627 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Authorization (CWE-863)third-party-advisory
- https://github.com/cosmicstack-labs/mercury-agent/issues/73exploitissue-tracking
- https://github.com/cosmicstack-labs/mercury-agent/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.