Weblateにおけるパストラバーサルの脆弱性
| Title |
Weblateにおけるパストラバーサルの脆弱性
|
| Summary |
Weblateはウェブベースのローカリゼーションツールです。バージョン5.17より前のバージョンでは、リポジトリ境界の検証が絶対パスに対する文字列のプレフィックスチェックに依存しており、これが解決されていませんでした。複数のコードパスで、このチェックはリポジトリルートパスに対してstartswithを使用しています。しかし、これはパスセグメントを認識しないため、外部パスがリポジトリパスと同じ文字列プレフィックスを共有している場合(例えば、repoとrepo_outside)は回避される可能性があります。この問題はバージョン5.17で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 15, 2026, midnight |
| Registration Date |
April 23, 2026, 10:10 a.m. |
| Last Update |
April 23, 2026, 10:10 a.m. |
|
CVSS3.0 : 警告
|
| Score |
5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月23日] 掲載 |
April 23, 2026, 10:10 a.m. |
NVD Vulnerability Information
CVE-2026-40256
| Summary |
Weblate is a web based localization tool. In versions prior to 5.17, repository-boundary validation relies on string prefix checks on resolved absolute paths. In multiple code paths, the check uses startswith against the repository root path. This is not path-segment aware and can be bypassed when the external path shares the same string prefix as the repository path (for example, repo and repo_outside). This issue has been fixed in version 5.17.
|
| Publication Date |
April 16, 2026, 4:16 a.m. |
| Registration Date |
April 17, 2026, 4:11 a.m. |
| Last Update |
April 21, 2026, 11:02 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:* |
|
|
|
5.17 |
Related information, measures and tools
Common Vulnerabilities List