Repository navigation
Conversation
| @@ -1,7 +1,7 @@ | |||
| # Core dependencies for auth0-server-python SDK | |||
| cryptography>=43.0.1 | |||
| cryptography>=45.0.1 | |||
There was a problem hiding this comment.
High severity issue identified in one of your dependencies:
Line 2 lists a dependency (cryptography) with a known vulnerability. The dependency was declared as a version range. Check the installed version to determine impact, then pin it or add a lockfile.
💬 Ignore this finding
To ignore this, reply with:
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Your security policy comments on findings when they have no reachability analysis - contact your Semgrep admin to update this. You can view more details on this finding in the Semgrep AppSec Platform here.
| @@ -1,7 +1,7 @@ | |||
| # Core dependencies for auth0-server-python SDK | |||
| cryptography>=43.0.1 | |||
| cryptography>=45.0.1 | |||
There was a problem hiding this comment.
High severity issue identified in one of your dependencies:
Line 2 lists a dependency (cryptography) with a known vulnerability. The dependency was declared as a version range. Check the installed version to determine impact, then pin it or add a lockfile.
💬 Ignore this finding
To ignore this, reply with:
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Your security policy comments on findings when they have no reachability analysis - contact your Semgrep admin to update this. You can view more details on this finding in the Semgrep AppSec Platform here.
| @@ -1,7 +1,7 @@ | |||
| # Core dependencies for auth0-server-python SDK | |||
| cryptography>=43.0.1 | |||
| cryptography>=45.0.1 | |||
There was a problem hiding this comment.
High severity issue identified in one of your dependencies:
Line 2 lists a dependency (cryptography) with a known vulnerability. The dependency was declared as a version range. Check the installed version to determine impact, then pin it or add a lockfile.
💬 Ignore this finding
To ignore this, reply with:
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Your security policy comments on findings when they have no reachability analysis - contact your Semgrep admin to update this. You can view more details on this finding in the Semgrep AppSec Platform here.
| @@ -1,7 +1,7 @@ | |||
| # Core dependencies for auth0-server-python SDK | |||
| cryptography>=43.0.1 | |||
| cryptography>=45.0.1 | |||
There was a problem hiding this comment.
High severity issue identified in one of your dependencies:
Line 2 lists a dependency (cryptography) with a known vulnerability. The dependency was declared as a version range. Check the installed version to determine impact, then pin it or add a lockfile.
💬 Ignore this finding
To ignore this, reply with:
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Your security policy comments on findings when they have no reachability analysis - contact your Semgrep admin to update this. You can view more details on this finding in the Semgrep AppSec Platform here.
|
Semgrep found 1 🟠 High severity issue identified in your code: Risk: Affected versions of pyjwt are vulnerable to Improper Verification of Cryptographic Signature. PyJWT Manual Review Advice: A vulnerability from this advisory is reachable if you verify HMAC-signed tokens with a symmetric (oct) JWK whose Fix: Upgrade this library to at least version 2.14.0 at auth0-server-python/requirements.txt:3. Reference(s): GHSA-pxh4-856f-4h89 View Dataflow Graphflowchart LR
classDef invis fill:white, stroke: none
classDef default fill:#e7f5ff, color:#1c7fd6, stroke: none
subgraph File0["<b>src/auth0_server_python/auth_server/server_client.py</b>"]
direction LR
%% Source
subgraph Source
direction LR
v0["<a href=https://github.com/auth0/auth0-server-python/blob/92766a104e3bab9d17bfd37dfbf5b93de23cb10c/src/auth0_server_python/auth_server/server_client.py#L607 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 607] jwt.PyJWK.from_dict(key)</a>"]
end
%% Intermediate
subgraph Traces0[Traces]
direction TB
v2["<a href=https://github.com/auth0/auth0-server-python/blob/92766a104e3bab9d17bfd37dfbf5b93de23cb10c/src/auth0_server_python/auth_server/server_client.py#L607 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 607] signing_key</a>"]
end
%% Sink
subgraph Sink
direction LR
v1["<a href=https://github.com/auth0/auth0-server-python/blob/92766a104e3bab9d17bfd37dfbf5b93de23cb10c/src/auth0_server_python/auth_server/server_client.py#L618 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 618] jwt.decode(token, signing_key.key, **kwargs)</a>"]
end
end
%% Class Assignment
Source:::invis
Sink:::invis
Traces0:::invis
File0:::invis
%% Connections
Source --> Traces0
Traces0 --> Sink
Semgrep found 4
🟠 High severity issue identified in your code: Risk: Affected versions of PyJWT are vulnerable to Incorrect Authorization / Insufficient Verification of Data Authenticity. PyJWT's JWS decoder does not enforce RFC 7515 Fix: Upgrade this library to at least version 2.12.0 at auth0-server-python/requirements.txt:3. Reference(s): https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-11728, GHSA-752w-5fwx-jx9f, CVE-2026-32597 |
| cryptography>=45.0.1 | ||
| pyjwt>=2.8.0 | ||
| authlib>=1.2.0,<2.0.0 | ||
| authlib~=1.9 |
There was a problem hiding this comment.
High severity issue identified in one of your dependencies:
Line 4 lists a dependency (authlib) with a known vulnerability. The dependency was declared as a version range. Check the installed version to determine impact, then pin it or add a lockfile.
💬 Ignore this finding
To ignore this, reply with:
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Your security policy comments on findings when they have no reachability analysis - contact your Semgrep admin to update this. You can view more details on this finding in the Semgrep AppSec Platform here.
| cryptography>=45.0.1 | ||
| pyjwt>=2.8.0 | ||
| authlib>=1.2.0,<2.0.0 | ||
| authlib~=1.9 |
There was a problem hiding this comment.
High severity issue identified in one of your dependencies:
Line 4 lists a dependency (authlib) with a known vulnerability. The dependency was declared as a version range. Check the installed version to determine impact, then pin it or add a lockfile.
💬 Ignore this finding
To ignore this, reply with:
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Your security policy comments on findings when they have no reachability analysis - contact your Semgrep admin to update this. You can view more details on this finding in the Semgrep AppSec Platform here.
Changes
Bumps
authlibfrom^1.2(locked at 1.6.11) to>=1.9.1,<2.0(locked at 1.9.10) to pick up upstream security fixes. Inpoetry.lock, authlib 1.9.10 requirespython >=3.10,cryptography >=45.0.1andjoserfc >=1.6.8, which drives the rest of this change.pyproject.toml:python = ">=3.9"becomes">=3.10".Dependencies (
pyproject.toml,requirements.txtandpoetry.lockupdated together)authlib:^1.2becomes>=1.9.1,<2.0cryptography:>=43.0.1becomes>=45.0.1(locked 43.0.3 to 51.0.0)joserfc: 1.7.7 below Python 3.15, 1.8.0 on 3.15 and latercffi: 2.0.0 to 2.1.1astroid3.3.11 andstdlib-listCI (
.github/workflows/test.yml)3.9, 3.10, 3.11, 3.12to3.10, 3.11, 3.12, 3.13, 3.14.pydantic2.13.5 pinspydantic-core2.46.5, which has no cp315 wheel, so a 3.15 run would build it from source. It gets added once a pydantic release ships cp315 wheels.Lint and typing (annotations only, no change to any public signature)
.ruff.toml:target-versiongoes frompy39topy310.Optional[X]andUnion[X, Y]becomeX | NoneandX | Y, andDict/Listbecomedict/list.Callablenow comes fromcollections.abc.auth_typesare now written asX | Yunions:EnrollAuthenticatorOptions,EnrollmentResponse,VerifyMfaOptions,StartPasswordlessOptions. Their members are unchanged.ServerClient(server_client.py:404) and two Enterprise Connect tests switch fromasyncio.iscoroutinefunctiontoinspect.iscoroutinefunction. The asyncio version is deprecated as of Python 3.14.Endpoints, classes and methods: none added, removed or deprecated.
Docs
README.mdnow says "This library requires Python 3.10+."examples/ConfigureStore.md,EnterpriseConnect.md,MultipleCustomDomains.md,OrganizationLogin.mdandStepUpAuthentication.mdis updated to the 3.10 typing style.CLAUDE.md,references/code-style.mdandreferences/pitfalls.mdnow describe the 3.10045/UP035` rules.Alternatives considered: pinning to the newest authlib 1.6.x patch, which would keep 3.9 past end of life, and the 1.9 line is where upstream fixes land.
References
<add advisory / CVE links><add if tracked>Testing
poetry install poetry run pytest poetry run ruff check .CI runs the same suite on 3.10 through 3.14. No functional tests were added, because the code changes only affect type annotations.
Checklist