CVE-2026-18997
published medium CVSS 4.0 · 5.3cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cosmicstack-labs | — | mercury-agent1.1.0 · 1.1.1 · 1.1.2 · 1.1.3 · 1.1.4 · 1.1.5 · 1.1.6 · 1.1.7 · 1.1.8 · 1.1.9 · 1.1.10 · 1.1.11 · 1.1.12 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 6.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cosmicstack-labs | mercury-agent | 1.1.0 (affected)1.1.1 (affected)1.1.2 (affected)1.1.3 (affected)1.1.4 (affected)1.1.5 (affected)1.1.6 (affected)1.1.7 (affected)1.1.8 (affected)1.1.9 (affected)1.1.10 (affected)1.1.11 (affected)1.1.12 (affected) | VulDB · cna |
Weaknesses
2- CWE-863 Incorrect Authorization
- CWE-285 Improper Authorization
References
6- https://github.com/cosmicstack-labs/mercury-agent/
- https://github.com/cosmicstack-labs/mercury-agent/issues/73
- CVE-2026-18997 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-18997
- Submit #862627 | cosmicstack-labs mercury-agent 1.1.12 Incorrect Authorization (CWE-863) https://vuldb.com/submit/862627
- VDB-386380 | cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization https://vuldb.com/vuln/386380
- VDB-386380 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/386380/cti
Provider assertions
2VulDB · cna
cosmicstack-labs mercury-agent bg agent.ts Agent.handleBgCommand authorization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 61ff30fd9c8525154b47bd41814d091ff8ff0a8b8e5238029fd526f18abf90b1
- Ingested
- 23 Sep 2026, 09:03:35 UTC
- Source record
- Official CVE record