> CVE-2026-22812 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-01-12 23:15
MODIFIED
2026-01-12 23:15
CVSS_SCORE V3
8.8
EPSS (Prob. Exploit)
16.54%
Top 3.0%
⚡ EPSS ÉLEVÉ (16.5%)
🎯 NUCLEI TEMPLATE
DATA SOURCES:
NVD 🔗 2026-01-13 CVE PROJECT 🔗 2026-01-19 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-04 OSV 🔗 2026-03-01 NUCLEI 🔗 2026-11-08

> DESCRIPTION

OpenCode is an open source AI coding agent. Prior to 1.0.216, OpenCode automatically starts an unauthenticated HTTP server that allows any local process (or any website via permissive CORS) to execute arbitrary shell commands with the user's privileges. This vulnerability is fixed in 1.0.216.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EXPLOITABILITY
2.8
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-306 CWE-749 CWE-942

> CWE DETAILED DESCRIPTIONS

CWE-306: Missing Authentication for Critical Functionality - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. | CWE-749: Exposed Dangerous Method or Function - The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted. | CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains - The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.

> GITHUB SECURITY ADVISORY

GHSA-vxw4-wv6m-9hhh HIGH

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

AFFECTED PACKAGES:
NPM / opencode-ai
< 1.0.216
Fixed in: 1.0.216

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

OpenCode's Unauthenticated HTTP Server Allows Arbitrary Command Execution

AFFECTED PACKAGES:
Unknown / Unknown
765 versions affected
ALIASES:
GHSA-vxw4-wv6m-9hhh

> NUCLEI TEMPLATES

Des templates Nuclei sont disponibles pour scanner cette vulnérabilité.

🎯
CVE-2026-22812.yaml
http/cves/2026/CVE-2026-22812.yaml
Usage: nuclei -t http/cves/2026/CVE-2026-22812.yaml -u target.com

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/01/2026 23:15
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:58
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-306: Missing Authentication for Critical Function - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of res...
Nouvelle valeur:
CWE-306: Missing Authentication for Critical Functionality - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount o...
📊 ENRICHISSEMENT 01/02/2026 06:44
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-306: Missing Authentication for Critical Function - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of res...
📊 ENRICHISSEMENT 19/01/2026 17:39
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 3 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh
« BACK_TO_HOME