Sceawere
Vulnerability Detail
CVE-2026-62204UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
SiYuan Bazaar Package Name Validation Bypass
Vulnerability Metadata
- Severity
- Medium
- Score / CVSS
- 6.6
- Creation Date
- 4h ago
- Vendor
- siyuan-note
- Product
- siyuan
- Attack Type
- Insufficient Verification of Data Authenticity
- Vector String
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
- Attack Complexity
- HIGH
Narrative and Response
Description
SiYuan versions before v3.7.4 fail to validate that packageName matches the downloaded package content in bazaar install endpoints. Attackers with same-origin access can overwrite existing trusted plugins by supplying mismatched packageName and repoURL parameters, achieving persistence across application restarts.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "6.6",
"pubDate": "2026-08-22T13:16:39.547Z",
"pubdate": "2026-08-22T13:16:39.547Z",
"executiveSummary": "A package validation flaw exists in SiYuan versions before v3.7.4 within the bazaar install endpoints, classified as an integrity validation bypass leading to arbitrary file overwrite and persistent code execution. The vulnerability impacts SiYuan installations by allowing unauthorized modification of trusted plugin directories through mismatched parameter inputs. Risk implications include the compromise of application integrity, unauthorized execution of arbitrary code within the context of the application, and the establishment of persistence mechanisms that survive application restarts. Attack capabilities require same-origin access to the application instance, enabling malicious actors to manipulate the installation workflow. Exploitation prerequisites mandate that the attacker has established same-origin access to target endpoints and can supply arbitrary or mismatched packageName and repoURL parameters during the bazaar installation process, thereby bypassing internal trust boundaries.",
"technicalDetails": "The vulnerability stems from insufficient input validation and cryptographic or logical verification within the bazaar install endpoints of SiYuan. Specifically, the affected component fails to enforce a strict validation check to ensure that the user-supplied packageName parameter cryptographically or structurally matches the actual content retrieved from the specified repoURL. Affected versions include all instances of SiYuan prior to v3.7.4. The vulnerability can be exploited by an attacker who possesses same-origin access to the application environment, requiring no higher-level administrative privileges beyond the capability to interact with the bazaar installation interface.\nThe attack flow proceeds as follows: First, the attacker initiates a plugin installation request via the bazaar install endpoint. Instead of supplying matching parameters, the attacker crafts a malicious request where the packageName parameter corresponds to an existing, trusted, and installed plugin, while the repoURL parameter points to a malicious repository or package controlled by the attacker containing arbitrary payload behavior. Because the application fails to validate whether the package content aligns with the declared packageName, it processes the download and extracts the untrusted package content directly into the directory path associated with the trusted plugin. This results in the systematic overwriting of existing trusted plugin files with malicious code.\nThe post-exploitation impact is severe, as the overwritten plugins are loaded and executed during normal application operations or upon subsequent initialization cycles. This achieves code execution persistence across application restarts, allowing the attacker to maintain continuous unauthorized access, intercept sensitive user data, or execute arbitrary operations within the security context of the SiYuan process."
}