# CVE-2024-31394: Path traversal in a-blog cms

> Authenticated users with editor privileges can exploit a directory traversal flaw to read arbitrary files on the server.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 22 May 2024
- **Updated:** 27 Mar 2025
- **Also known as:** GHSA-r868-7jmm-2qf4

## What is CVE-2024-31394?

CVE-2024-31394 is a medium-severity path traversal vulnerability in appleple inc. a-blog cms, published on 22 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

Directory traversal vulnerability exists in a-blog cms Ver.3.1.x series versions prior to Ver.3.1.12, Ver.3.0.x series versions prior to Ver.3.0.32, Ver.2.11.x series versions prior to Ver.2.11.61, Ver.2.10.x series versions prior to Ver.2.10.53, and Ver.2.9 and earlier versions. If this vulnerability is exploited, a user with an editor or higher privilege who can log in to the product may obtain arbitrary files on the server.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)

## Which versions are affected by CVE-2024-31394?

It affects 1 product.


Products: Appleple A-Blog Cms.

## How do I fix CVE-2024-31394?

No fix has been published for CVE-2024-31394 yet. Limit exposure of the affected software until one is available.

## Is CVE-2024-31394 being exploited?

There is no known exploitation of CVE-2024-31394 in the wild and no public exploit code.

## Other vulnerabilities in appleple inc. a-blog cms

- [CVE-2022-21142](https://insights.sbomify.com/CVE-2022-21142/): Auth bypass in a-blog cms (critical 9.8)
- [CVE-2025-36560](https://insights.sbomify.com/CVE-2025-36560/): Server-side request forgery in a-blog cms (critical 9.2)
- [CVE-2024-23180](https://insights.sbomify.com/CVE-2024-23180/): File upload in a-blog cms (high 8.8)
- [CVE-2024-23348](https://insights.sbomify.com/CVE-2024-23348/): Cross-site scripting in a-blog cms (high 8.8)
- [CVE-2024-23182](https://insights.sbomify.com/CVE-2024-23182/): Path traversal in a-blog cms (high 8.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-31394 and fix it if it is affected.

What it is: CVE-2024-31394 is a medium-severity path traversal vulnerability in appleple inc. a-blog cms, published on 22 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-31394 in the wild and no public exploit code.

Affected product: appleple inc. a-blog cms. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-31394/ (Markdown: https://insights.sbomify.com/CVE-2024-31394/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-31394
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-31394
- OSV: https://osv.dev/vulnerability/CVE-2024-31394

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-31394/
Summaries are generated and may contain mistakes; the official description above is the record.
