CVE-2026-18997 cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
MediumCVSS 5.3
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cosmicstack-labs mercury-agent | = 1.1.0; = 1.1.1; = 1.1.2; = 1.1.3 +9 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cosmicstack-labs mercury-agent | = 1.1.0 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.1 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.2 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.3 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.4 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.5 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.6 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.7 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.8 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.9 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.10 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.11 | No fix listed |
| cosmicstack-labs mercury-agent | = 1.1.12 | No fix listed |
References
- VDB-386380 | cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization technical-description vdb-entry
- VDB-386380 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- CVE-2026-18997 | CVE Analysis and Report third-party-advisory
- Submit #862627 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Authorization (CWE-863) third-party-advisory
- github.com exploit issue-tracking
- github.com product
- ENISA EUVD EUVD-2026-53711 third-party-advisory