Beta: The advisory system is in beta. Content and format may change.
KS-2026-002 High ● Patched

Password resets fail with 'No such file or directory' error

Password resets fail with 'env: '/bin/admin/set_password.pl': No such file or directory'.

Published
May 28, 2026
Last Updated
May 29, 2026
Affected Versions
Koha AMI builds released before 2026-05-29
Fixed In
Koha v25.11.04-1 (AMI build 2026-05-29)

Overview

Customers using the koha-reset-passwd command to reset admin passwords will encounter an error: env: '/bin/admin/set_password.pl': No such file or directory. This is due to an upstream bug in Koha where the script fails to source the Koha configuration file, resulting in an incorrect path. This issue affects all Koha package installations and prevents admins from resetting passwords via the command line.

Affected Versions

  • Koha AMI builds released before this patch.

Remediation

Option 1: Upgrade to Patched AMI

When a patched AMI is available on AWS Marketplace, launch a new instance from it and migrate your data. See the migration guide for step-by-step instructions.

Option 2: Apply Interim Mitigation

No interim mitigation is available. Upgrade to the patched AMI when released.

Option 3: Contact Support

If you are unsure how to apply the above steps, contact us at [email protected] or use the contact form. We can walk you through the fix remotely.

Timeline

Date Event
2026-05-28 Issue identified
2026-05-28 Advisory published
2026-05-29 Patched AMI published to AWS Marketplace

References