5G Core Telecom Network implements protocols that sit at the heart of a mobile network: subscriber authentication, key derivation and the control of user traffic. We treat security reports as our highest priority and thank everyone who reports a problem responsibly.
The project is in early development. Only the latest commit on main receives
security fixes.
| Version | Supported |
|---|---|
main (0.1.x) |
Yes |
| Older commits | No |
Please do not open a public issue for a security problem.
Report it privately through GitHub:
- Open the Security tab of this repository.
- Choose Report a vulnerability.
- Describe the problem, the affected crate or file, and how to reproduce it. A packet capture, a failing test or a proof-of-concept message helps a lot.
What happens next:
| Step | Target time |
|---|---|
| We confirm we received your report | 3 working days |
| We tell you whether we accept it and how severe we think it is | 10 working days |
| We release a fix or a mitigation | 90 days at the latest, sooner for critical issues |
We will keep you informed, credit you in the advisory unless you ask us not to, and agree a disclosure date with you before anything is published.
In scope:
- Memory-safety, panic or resource-exhaustion bugs reachable from network input (NAS, NGAP, PFCP, GTP-U, SBI/HTTP).
- Flaws in authentication and key agreement: Milenage, 5G AKA, the key derivation functions, constant-time comparisons.
- NRF authorisation and registry problems, for example registering or modifying another NF's profile, or bypassing PLMN checks.
- Secrets leaking through logs,
Debugoutput or error messages.
Out of scope:
- Vulnerabilities in the original C code of Open5GS. Please report those to the Open5GS project. If the same flaw also exists in our Rust port, tell us as well.
- Attacks that need an already compromised host or administrator access.
- Findings from automated scanners without a demonstrated impact.
This is pre-release software. Until the 1.0 release:
- Do not connect it to a production network or to real subscribers.
- The NRF does not yet implement OAuth2 access tokens (TS 33.501 13.4.1) or
TLS on the SBI. Bind it to a private, trusted network only, as in the
default configuration (
127.0.0.10). - Keep subscriber keys (K, OPc) out of configuration files under version control.
unsafecode is forbidden in every crate (#![forbid(unsafe_code)]).- Every decoder checks lengths before reading and returns an error on malformed input instead of panicking.
- Secret comparisons (MAC-A, MAC-S) use constant-time equality, and key
material is never printed through
Debug. - Cryptography uses audited RustCrypto crates and is checked against 3GPP test vectors.
- Continuous integration runs
rustfmt,clippy -D warningsand the full test suite on every push.