HKUDSのDeepCodeにおけるパストラバーサルの脆弱性
| Title |
HKUDSのDeepCodeにおけるパストラバーサルの脆弱性
|
| Summary |
DeepCodeはコミットc991dc2を通じて、new_ui/backend/main.pyのSPAキャッチオールルートにパストラバーサルの脆弱性を含んでいます。認証されていない攻撃者がGET /{full_path:path}エンドポイントにパーセントエンコードされたパスセグメントを供給することで任意のファイルを読み取ることが可能です。攻撃者はスラッシュを%2F、ドットを%2E%2EとしてエンコードすることでStarletteのパス正規化を回避し、結合されたパスがFRONTEND_DISTの外部にトラバースします。その結果、SSHプライベートキー、TLS証明書、アプリケーションシークレットなどの機密ファイルを単一のHTTPリクエストで露出させることができます。
|
| Possible impacts |
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 28, 2026, midnight |
| Registration Date |
June 5, 2026, 10:51 a.m. |
| Last Update |
June 5, 2026, 10:51 a.m. |
|
CVSS3.0 : 重要
|
| Score |
7.5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected System
| HKUDS |
|
DeepCode 1.2.0 およびそれ以前
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月05日] 掲載 |
June 5, 2026, 10:51 a.m. |
NVD Vulnerability Information
CVE-2026-32847
| Summary |
DeepCode through commit c991dc2 contains a path traversal vulnerability in the SPA catch-all route in new_ui/backend/main.py that allows unauthenticated attackers to read arbitrary files by supplying percent-encoded path segments to the GET /{full_path:path} endpoint. Attackers can bypass Starlette's path normalization by encoding slashes as %2F and dots as %2E%2E, causing the joined path to traverse outside FRONTEND_DIST and exposing sensitive files such as SSH private keys, TLS certificates, and application secrets with a single HTTP request.
|
| Publication Date |
May 29, 2026, 5:16 a.m. |
| Registration Date |
May 30, 2026, 4:11 a.m. |
| Last Update |
June 4, 2026, 3:02 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:hkuds:deepcode:*:*:*:*:*:*:*:* |
|
1.2.0 |
|
|
Related information, measures and tools
Common Vulnerabilities List