
CVE-2026-109566 (CVSS 9.8) — Rapyd Admin 9.0.0 < 9.20.0 hard-coded super-admin credentials via AuthSeeder (admin@laravel / admin). Standalone exploit PoC.
zofe/rapyd-admin)Proof-of-concept exploits for vulnerabilities in Rapyd Admin, all fixed in 9.20.0 (affected from 9.0.0 — CVE-2026-109565 from 9.4.0).
| CVE | Severity | Type | Exploit |
|---|---|---|---|
| CVE-2026-109566 | 9.8 Critical | Hard-coded super-admin credentials (AuthSeeder) | CVE-2026-109566.py |
| CVE-2026-110238 | 8.8 High | Authorization bypass (UsersModalEditEmbed) | CVE-2026-110238.js |
| CVE-2026-109567 | 7.2 High | Privilege escalation (UsersEdit) | CVE-2026-109567.js |
| CVE-2026-109565 | 6.1 Medium | Stored XSS (select-list component) | CVE-2026-109565.js |
| CVE-2026-110239 | 4.4 Medium | Stored XSS (rich-text component) | CVE-2026-110239.js |
Authorized security testing and research only. Discovery was AI-assisted; each PoC was executed and verified by hand against the Composer-installed package (affected code identical from the v9.19.0 tag through
main, commit90e6041).
Rapyd Admin 9.0.0 before 9.20.0 contains a hard-coded credentials vulnerability
that allows remote unauthenticated attackers to gain super-admin access through an
AuthSeeder-created admin@laravel account with password admin.
The account is seeded by the setup installer and silently re-created on every
rpd:make run, letting attackers log in as a global super admin — bypassing
per-record authorization and tenant scoping.
| CVE | CVE-2026-109566 |
| Package | zofe/rapyd-admin |
| Affected | >= 9.0.0, < 9.20.0 (fixed in 9.20.0) |
| Credentials | admin@laravel / admin |
| Class | CWE-1392 (Default Credentials), CWE-798 (Hard-Coded Credentials), CWE-1188 (Insecure Default Initialization) |
| CVSS v3.1 | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8 (Critical) |
src/Modules/Auth/Database/Seeders/AuthSeeder.php (lines 29–34) creates a user with
a fixed address and a fixed password, then grants it the admin role — with no
environment guard, no randomization, and no forced password change:
$userModel = config('auth.providers.users.model', \App\Models\User::class);
$admin = $userModel::firstOrCreate(
['email' => 'admin@laravel'],
['name' => 'Admin', 'password' => Hash::make('admin')]
);
$admin->assignRole('admin');
The seeder reaches production unattended because it runs from:
src/Commands/RapydMakeSetupCommand.php:44-45 runs
migrate --force then db:seed --class=AuthSeeder --force.src/Commands/RapydMakeBaseCommand.php:84-86 calls
db:seed --class=AuthSeeder --force silently whenever the permissions table
exists. Deleting the account does not help: the next rpd:make re-creates it
(firstOrCreate). The exposure is self-healing by design.The admin role is listed in config('rapyd.auth.super_admin_roles')
(config/rapyd.php:119), so the session bypasses the per-record Authorize
check (src/Modules/Auth/Traits/Authorize.php:43) and the CompanyLimit tenant
data-scope (src/Modules/Companies/Limits/CompanyLimit.php:12), and unlocks
impersonation — full, cross-tenant administrative control.
The credentials are effectively public: they live in the package source, in the
commit history, and the package's own scripts/sandbox.sh prints
login: admin@laravel / admin.
CVE-2026-109566.py performs the attack
end-to-end against a live default installation — unauthenticated, no prior access:
GET /login — harvest the Laravel CSRF token and session cookie.POST /login — authenticate with the shipped defaults.GET /auth/users — confirm super-admin access (an admin-only page).pip install requests
python3 CVE-2026-109566.py http://TARGET:8000
# override creds if an operator changed them:
python3 CVE-2026-109566.py http://TARGET:8000 \
--email admin@laravel --password admin
If the target is patched (≥ 9.20.0) or the operator changed the password, the script
reports Default credentials were rejected.
--with-admin
flag.rpd:make only needs the permissions
refreshed.A low-privileged company "member" (the default customer role) can take over any
other user of the company — including the owner and administrators — set its
password, sign in as that user, delete arbitrary users, and promote itself to owner.
| CVE | CVE-2026-110238 |
| Package | zofe/rapyd-admin |
| Affected | >= 9.0.0, < 9.20.0 (fixed in 9.20.0) |
| Class | CWE-284 (Improper Access Control), CWE-639 (Authorization Bypass Through User-Controlled Key), CWE-862 (Missing Authorization) |
| CVSS v3.1 | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8 (High) |
app/Modules/Companies/Livewire/UsersModalEditEmbed.php gates the component with a
single permission check, then operates on whatever user id the client supplies —
the word "own" is never enforced:
public function booted(): void {
$this->authorize('admin|edit users|edit own users'); // customer holds "edit own users"
}
#[On('editUser')]
public function editUser(?string $userId = null, ?string $companyId = null): void {
$userModel = config('auth.providers.users.model');
$this->user = $userId ? ($userModel::find($userId) ?? new $userModel()) : new $userModel();
// ^ loads ANY user id — no check that it belongs to the caller (CWE-639)
}
// save(): $this->user->password = Hash::make($this->passwd); $this->user->save();
// deleteUser($userId): config(...)::findOrFail($userId)->delete(); // any id, no check
The Livewire snapshot is signed, but the action call (method name + params) is
client-controlled. The company page even prints every user's id into the DOM via
$dispatch('editUser', {userId:'<id>', companyId:'<id>'}) — handing the attacker the
owner's id directly. The component also never calls limit(), so the same primitive
writes into other tenants' companies.
customer role is granted edit own users in app/Modules/Auth/config.php:43-46.companies_view.blade.php:103), which a member may open (view own business).users_table_embed.blade.php:18-19 for every row.