cds-feature-attachments defines a default error message in messages.properties file
AttachmentSizeExceeded = File size exceeds the limit of {0}
However, when the maximum file size configured via @Validation.Maximum is exceeded, only the message key "AttachmentSizeExceeded" is shown to the user instead of the resolved message text.