CVE-2026-43965
CVE.org · Publicado
- Status do registro
- Publicado
- Ano do identificador (não é o ano de publicação)
- 2026
- Publicação na fonte
- Atualização na fonte
- Importado pelo cveboard
- Snapshot da fonte
- cve_2026-10-24_midnight_baseline ·
Texto da CNA em inglês
Path Traversal in build/packages/packages.toml Allows Arbitrary Directory Deletion
Path traversal vulnerability in Gleam's dependency management allows arbitrary directory deletion via malicious build/packages/packages.toml content. Package keys read from build/packages/packages.toml by LocalPackages::read_from_disc are passed without validation to paths.build_packages_package(), which constructs a filesystem path by joining the project build directory with the attacker-controlled key. The resulting path is then passed to fs::delete_directory (which calls remove_dir_all). No check is performed to ensure the path remains within the intended build/packages/ directory. Both absolute paths and relative traversal sequences (e.g. ../) are accepted as package keys, allowing deletion of arbitrary directories. An attacker who can cause a victim to run gleam deps download on a project containing a malicious build/packages/packages.toml (e.g. by committing the normally-gitignored file to a repository) can cause arbitrary directories on the victim's system to be recursively deleted. This issue affects Gleam from 0.18.0-rc1 until 1.17.0.
Fatos de produtos e versões por escopo
Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.
Exploração desconhecida; este catálogo não avalia exploração.
Gleam
- Fornecedor
- Gleam
- Produto
- Gleam
- Plataformas
- Desconhecido
- Status padrão
unaffected- Pacote
- gleam
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 0.18.0-rc1 | affected | semver | 1.17.0 | Indisponível | Nenhuma listada |
Gleam
- Fornecedor
- Gleam
- Produto
- Gleam
- Plataformas
- Desconhecido
- Status padrão
unaffected- Pacote
- gleam-lang/gleam
- Coleção do pacote
- https://github.com
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 0.18.0-rc1 | affected | semver | 1.17.0 | Indisponível | Nenhuma listada |
| ed7aec0484f10d60978b63788c8a6497590855ab | affected | git | 690ca069817bee5f77a28fc3e360627c1da19291 | Indisponível | Nenhuma listada |
Gleam
- Fornecedor
- Gleam
- Produto
- Gleam
- Plataformas
- Desconhecido
- Status padrão
unaffected- Pacote
- gleam-lang/gleam
- Coleção do pacote
- https://ghcr.io
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| v0.18.0-rc1-elixir | affected | other | v1.17.0-elixir | Indisponível | Nenhuma listada |
| v0.18.0-rc1-erlang | affected | other | v1.17.0-erlang | Indisponível | Nenhuma listada |
| v0.18.0-rc1-node | affected | other | v1.17.0-node | Indisponível | Nenhuma listada |
| v0.18.0-rc1-node-slim | affected | other | v1.17.0-node-slim | Indisponível | Nenhuma listada |
| v0.18.0-rc1-elixir-slim | affected | other | v1.17.0-elixir-slim | Indisponível | Nenhuma listada |
| v0.18.0-rc1-erlang-slim | affected | other | v1.17.0-erlang-slim | Indisponível | Nenhuma listada |
| v0.18.0-rc1-erlang-alpine | affected | other | v1.17.0-erlang-alpine | Indisponível | Nenhuma listada |
| v0.18.0-rc1-elixir-alpine | affected | other | v1.17.0-elixir-alpine | Indisponível | Nenhuma listada |
| v0.18.0-rc1-node-alpine | affected | other | v1.17.0-node-alpine | Indisponível | Nenhuma listada |
| v0.18.0-rc1-scratch | affected | other | v1.17.0-scratch | Indisponível | Nenhuma listada |