# CVE-2026-47398: Home Assistant Core \< 2026.7.0 Symlink Path Traversal RCE via backup-restore

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** CVE-2026-64824, GHSA-78r8-wwqv-r299, PYSEC-2026-2905
- **Published:** 2026-05-29T22:26:31.000Z
- **Modified:** 2026-11-08T14:08:00.632Z

## Who should check

- Projects that depend on PyPI package praisonai (\< 4.6.40)
- Anyone running home-assistant Home Assistant Core \< 2026.7.0

## Description

Home Assistant Core before 2026.7.0 contains a path traversal vulnerability in the backup-restore function that allows attackers to write files to arbitrary absolute filesystem paths by supplying a crafted tar archive with a SYMTYPE entry containing a benign member name paired with an absolute linkname pointing outside the extraction directory. Because the official Docker image runs the Home Assistant process as root and the subsequent regular-file entry is written through the unvalidated symlink, attackers can achieve remote code execution by overwriting auto-imported Python paths such as site-packages/sitecustomize.py or custom component directories.

## Affected and fixed versions

- PyPI `praisonai`: affected \< 4.6.40; fixed 4.6.40 (osv)
- home-assistant Home Assistant Core: \< 2026.7.0 (cvelist)

## Mitigation

- Upgrade praisonai to 4.6.40 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-47398. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-47398.md
Affected: praisonai < 4.6.40
Fixed in: 4.6.40

Steps:
1. Search this machine and project for praisonai (PyPI), home-assistant Home Assistant Core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-47398 being exploited?

There is no confirmed exploitation: CVE-2026-47398 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-47398?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-47398?

praisonai \< 4.6.40.

### Is there a fix for CVE-2026-47398?

Yes. Fixed in 4.6.40. Upgrade praisonai to 4.6.40 or later.

### How do I check if I'm affected by CVE-2026-47398?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/advisories/GHSA-78r8-wwqv-r299>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-47398>
- patch: <https://github.com/home-assistant/core/pull/172252>
- patch: <https://github.com/home-assistant/core/commit/1e457600f1093c15e1325742d03e2b76498c79c1>
- patch: <https://github.com/MervinPraison/PraisonAI/pull/1685>
- patch: <https://github.com/MervinPraison/PraisonAI/commit/ef79b7a0561796ad9807f0f09538c25cc78d3619>
- exploit: <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-78r8-wwqv-r299>
- other: <https://github.com/home-assistant/core/releases/tag/2026.7.0>
- other: <https://www.vulncheck.com/advisories/home-assistant-core-symlink-path-traversal-rce-via-backup-restore>
- other: <https://github.com/MervinPraison/PraisonAI>
- other: <https://pypi.org/project/praisonai>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64824>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-78r8-wwqv-r299> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2905> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-47398> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-47398>
