CVE-2026-90813: Incorrect Behavior Order: Validate Before Canonicalize in cosmicstack-labs mercury-agent
A vulnerability was detected in cosmicstack-labs mercury-agent up to 1.1.13. Affected is the function checkShellCommand of the file src/capabilities/permissions.ts of the component Shell Command Execution. The manipulation results in incorrect behavior order: validate before canonicalize. The attack may be launched remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
AI Analysis
Technical Summary
The vulnerability in cosmicstack-labs mercury-agent (versions 1.1.0 through 1.1.13) arises from the checkShellCommand function executing validation before canonicalization, which is an incorrect order of operations. This can lead to security issues related to shell command execution. The flaw is remotely exploitable and public exploit code exists. The vendor has been notified but has not provided a fix or response at the time of this report.
Potential Impact
The vulnerability allows remote attackers to potentially bypass intended validation checks on shell commands due to the incorrect order of validation and canonicalization. This could lead to unauthorized shell command execution or other unintended behaviors. The CVSS score of 5.3 indicates a medium impact level, with low attack complexity and no required user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded or released a fix, users should monitor official channels for updates and consider implementing temporary mitigations such as restricting network access to the affected service or applying additional input validation controls where possible.
CVE-2026-90813: Incorrect Behavior Order: Validate Before Canonicalize in cosmicstack-labs mercury-agent
Description
A vulnerability was detected in cosmicstack-labs mercury-agent up to 1.1.13. Affected is the function checkShellCommand of the file src/capabilities/permissions.ts of the component Shell Command Execution. The manipulation results in incorrect behavior order: validate before canonicalize. The attack may be launched remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
CVSS v4.0
Score 5.3medium
Affected software
cosmicstack-labs
mercury-agent
pkg:github/cosmicstack-labs/mercury-agentcpe:2.3:a:cosmicstack-labs:mercury-agent:*:*:*:*:*:*:*:*Run 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
The vulnerability in cosmicstack-labs mercury-agent (versions 1.1.0 through 1.1.13) arises from the checkShellCommand function executing validation before canonicalization, which is an incorrect order of operations. This can lead to security issues related to shell command execution. The flaw is remotely exploitable and public exploit code exists. The vendor has been notified but has not provided a fix or response at the time of this report.
Potential Impact
The vulnerability allows remote attackers to potentially bypass intended validation checks on shell commands due to the incorrect order of validation and canonicalization. This could lead to unauthorized shell command execution or other unintended behaviors. The CVSS score of 5.3 indicates a medium impact level, with low attack complexity and no required user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded or released a fix, users should monitor official channels for updates and consider implementing temporary mitigations such as restricting network access to the affected service or applying additional input validation controls where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-09-13T16:29:51.835Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa84bc355bf5e2cf581421e
Added to database: 09/14/2026, 19:32:19 UTC
Last enriched: 09/14/2026, 19:46:28 UTC
Last updated: 09/14/2026, 20:15:21 UTC
Views: 6
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.