Catégories
CVE-2026-44692 high CVSS 7.7

Vulnérabilité dans code16/sharp (CVE-2026-44692)

Résumé

Vulnérabilité dans code16/sharp (CVE-2026-44692). Des informations confidentielles peuvent être exposées. Exploitable via GET /sharp/{globalFilter}/download/{entityKey}/{instanceId. Atténuation : mise à jour vers 9.22.0 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Sharp exposes a generic download endpoint that authorizes access only to the supplied Sharp entity instance, but then reads the target storage disk and path from request parameters.

Because the requested storage object is not bound to the authorized entity instance, an authenticated Sharp user who can view one valid record may use that record as an authorization anchor to download unrelated disk-relative objects from configured Laravel Storage disks.

The confirmed impact is authenticated disclosure of unrelated objects from configured Laravel Storage disks. This issue does not imply arbitrary host filesystem access outside configured Laravel Storage disk roots.

Impact

An authenticated Sharp user with view access to at least one valid Sharp entity instance may be able to download unrelated files from configured Laravel Storage disks by supplying a different disk and path to the generic download endpoint.

Depending on the application, exposed files may include exports, backups, invoices, internal documents, uploads belonging to other records, tenant-specific data, or operational files stored on private application disks.

The attacker does not need authorization to the storage object being downloaded. They only need an authenticated Sharp session and view access to one valid entity instance that can be used as the authorization anchor.

Attack requirements

An attacker must have:

  • an authenticated Sharp session
  • view access to at least one valid Sharp en…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Résumé généré automatiquement

Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.

Une vulnérabilité référencée CVE-2026-44692 a été découverte dans code16/sharp.
Des attaquants peuvent cibler un point d'entrée spécifique comme GET /sharp/{globalFilter}/download/{entityKey}/{instanceId à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 7.7/10.
Action : mettez à jour code16/sharp vers 9.22.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « code16/sharp CVE-2026-44692 » sur le site de l'éditeur.

CVE-2026-44692 (code16/sharp) — CWE-639 / CVSS v3 7.7
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : GET /sharp/{globalFilter}/download/{entityKey}/{instanceId / disk / path / entityKey
Correctif : 9.22.0 — appliquer immédiatement
Contournement : applications should restrict `downloads.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.

❓ Quel est le problème

Une vulnérabilité (CWE-639) affecte code16/sharp. Les attaquants atteignent le code vulnérable via GET /sharp/{globalFilter}/download/{entityKey}/{instanceId.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de code16/sharp. Surface d'attaque : GET /sharp/{globalFilter}/download/{entityKey}/{instanceId / disk / path / entityKey.

🔥 Gravité

Gravité : Élevée (CVSS 7.7/10). Des informations confidentielles peuvent être exposées.

🔧 Comment corriger

Mettre à jour vers 9.22.0.

🛡️ Contournement

Contournement : applications should restrict `downloads.

🔍 Détection

Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers GET /sharp/{globalFilter}/download/{entityKey}/{instanceId (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver code16/sharp.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r 'code16/sharp' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で code16/sharp を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Hunt for indicators of compromise detect
    grep 'GET /sharp/{globalFilter}/download/{entityKey}/{instanceId' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'

    アクセスログで GET /sharp/{globalFilter}/download/{entityKey}/{instanceId への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。

  3. 3
    Apply temporary workaround mitigate
    applications should restrict `downloads.

    パッチが適用されるまでの応急処置として、applications should restrict `downloads. を実施。回避策の副作用 (機能低下) を確認した上で。

  4. 4
    Apply patch patch
    Upgrade code16/sharp to 9.22.0

    ステージング環境で 9.22.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。

  5. 5
    Post-deployment verification verify
    Replay attack against GET /sharp/{globalFilter}/download/{entityKey}/{instanceId on staging to confirm patch closes the vector

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。

Paquets affectés

composer code16/sharp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.22.0"}]}]
Packagist code16/sharp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.22.0"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus