Skip to main content

CVE-2026-90813: Incorrect Behavior Order: Validate Before Canonicalize in cosmicstack-labs mercury-agent

0
Medium
VulnerabilityCVE-2026-90813cvecve-2026-90813
Published: 09/14/2026 (09/14/2026, 19:15:08 UTC)
Source: CVE Database V5
Vendor/Project: cosmicstack-labs
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

Affected software

cosmicstack-labs

mercury-agent

Affected versions
=1.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=1.1.13
GitHub Actionsmore threats →ai
cosmicstack-labs/mercury-agent
pkg:github/cosmicstack-labs/mercury-agent
Affected versions
=1.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=1.1.13
CPE configurations
cpe: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

AILast updated: 09/14/2026, 19:46:28 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses