Ernst & Young has terminated two graduate employees after they allegedly accessed the personal banking records of Australian Prime Minister Anthony Albanese.

The men, including a former EY graduate named Paul Issa, appeared in court on Tuesday morning where their bail was continued pending further proceedings.

Treasurer Jim Chalmers described the allegations as "incredibly concerning," highlighting the severity of the breach involving the Prime Minister's private financial data.

The incident has drawn sharp criticism and underscores the sensitivity of customer data held by major financial institutions.

The accused were employed at Ernst & Young but accessed the records while on secondment at Commonwealth Bank.

EY has referred the matter for criminal charges, marking a significant escalation in the case.