# CVE-2025-31116: Mobile Security Framework (MobSF) has a SSRF Vulnerability fix bypass on assetlinks_check with DNS Rebinding

Source: https://junglewise.ai/threats/cve-2025-31116-mobile-security-framework-mobsf-has-a-ssrf-vulnerability-fix  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-31  
License: CC BY 4.0 with a link back

CVE-2025-31116 · Severity: low · CVSS 3.1 · Published 2025-03-31

Mobile Security Framework (MobSF) is a pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis. The mitigation for CVE-2024-29190 in valid_host() uses socket.gethostbyname(), which is vulnerable to SSRF abuse using DNS rebinding technique. This vulnerability is fixed in 4.3.2.

Technologies: [mobsf (PyPI)](https://junglewise.ai/threats/technologies/mobsf). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-31116 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-31116 being exploited in the wild.

**How severe is CVE-2025-31116?** Low severity, with a CVSS score of 3.1, published 31 March 2025.

**Which products and versions are affected?** mobsf (PyPI) ECOSYSTEM:introduced=0,fixed=4.3.2, GIT:introduced=0,fixed=4b8bab5a9858c69fe13be4631b82d82186e0d3bd|ECOSYSTEM:introduced=0,fixed=4.3.2.

**Is there a fix for CVE-2025-31116?** Yes. mobsf (PyPI): upgrade to 4.3.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-31116?** Check whether you run mobsf (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mobsf (PyPI): upgrade to 4.3.2 or later

  ```sh
  pip install "mobsf>=4.3.2"
  ```


## Affected products

- mobsf (PyPI) ECOSYSTEM:introduced=0,fixed=4.3.2, GIT:introduced=0,fixed=4b8bab5a9858c69fe13be4631b82d82186e0d3bd|ECOSYSTEM:introduced=0,fixed=4.3.2

## Identifiers

- CVE-2025-31116
- GHSA-fcfq-m8p6-gw56
- PYSEC-2025-48

## Related threats

- [MobSF path traversal in icon analysis](https://junglewise.ai/threats/cve-2026-68922-mobsf-path-traversal-in-icon-analysis)
- [MobSF CSRF protection bypass after Django migration](https://junglewise.ai/threats/cve-2026-68923-mobsf-csrf-protection-bypass-after-django-migration)
- [MobSF SSRF port restriction bypass in assetlinks_check](https://junglewise.ai/threats/cve-2026-68927-mobsf-ssrf-port-restriction-bypass-in-assetlinks-check)
- [MobSF ZIP/APK extraction denial of service via per-file size limit bypass](https://junglewise.ai/threats/cve-2026-68924-mobsf-zip-apk-extraction-denial-of-service-via-per-file-size)
- [PYSEC-2026-2662 - MobSF has SQL Injection in its SQLite Database Viewer Utils](https://junglewise.ai/threats/cve-2026-33545-mobsf-has-sql-injection-in-its-sqlite-database-viewer-utils)
